Changes between Version 1 and Version 2 of Ticket #11442, comment 6


Ignore:
Timestamp:
Feb 5, 2014, 10:52:06 PM (11 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11442, comment 6

    v1 v2  
    1515> The HTML parser treats markup inside iframe elements as text.
    1616
    17 However, this doesn't explain how CKEditor should handle the situation. I would say that it should follow the spec, although this is low prio ticket because setting iframe's content to anything is basically deprecated and useless.
     17However, this doesn't explain how CKEditor should handle the situation. I would say that it cannot follow the spec, because:
     18
     191. You load <iframe>f<!--x-->x</iframe>
     202. It becomes <iframe>f&lt;--x--&gt;x</iframe>
     213. You load this and it becomes <iframe>f&amp;lt;--x--&amp;gt;x</iframe>
     22
     23So CKEditor should preserve the original content... or strip everything more than text. Both solutions are not easy and since setting content of an iframe is deprecated because useless, this ticket has low priority.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy