Ticket #1509 (closed Bug: fixed)
normal whitespace changed into by innerHtml()
| Reported by: | kwillems | Owned by: | martinkou |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.6 |
| Component: | General | Version: | FCKeditor 2.5 Beta |
| Keywords: | Confirmed IE Review+ | Cc: |
Description
I noticed that insertHtml() in IE 6 and IE 7 changes a preceding whitespace (like ' ') into ' '.
As far as I can see this behaviour is caused by the following line (number 165) in fck_ie.js:
html = '<span id="fakeFCKRemove"> </span>' + html ; BR]]
Changing this line into (for example)
html = '<span id="fakeFCKRemove">fakeFCKRemove</span>' + html ;
seems to solve this.
Regards, Koen Willems
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
