Opened 14 years ago
Last modified 9 years ago
#6709 confirmed Bug
insertHtml: comments must also be protected
Reported by: | Dinu | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | IE8 HasPatch | Cc: |
Description
In IE, when setting innerHTML, any starting <!----> comments are removed. Test: insertHtml('<!--comment-->foo') Affected: dataProcessor.toHtml Fix: prefixing a dummy <foo:bar /> tag keeps comments and whitespace in place, remove when converting to data.
Change History (5)
comment:1 Changed 14 years ago by
Keywords: | IE added |
---|---|
Status: | new → confirmed |
comment:2 Changed 14 years ago by
Keywords: | HasPatch added |
---|
comment:3 Changed 14 years ago by
Summary: | Comments must also be protected from IE → insertHtml: comments must also be protected |
---|
comment:4 Changed 13 years ago by
comment:5 Changed 9 years ago by
Keywords: | IE8 added; IE removed |
---|
In CKEditor 4.5.3 this issue is only reproducible IE8.
I can confirm that using the API sample.