Changes between Initial Version and Version 2 of Ticket #10073


Ignore:
Timestamp:
Feb 14, 2013, 2:24:11 PM (8 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10073

    • Property Status changed from new to confirmed
  • Ticket #10073 – Description

    initial v2  
    1212* {{{<a href=""><img></a>}}} is a different case because it's similar to {{{<a name=""><img></a>}}} and {{{<a name=""></a>}}} shouldn't be removed. So it's an exception, because 'a' isn't included in {{{$removeEmpty}}}. However, why doesn't data processor fix this case? It fixes the case I described in the next point, but why not this? Especially, that I see a filter's rule for htmlFilter that fixes this on output. I think that identical rule should exist for toHtml(). And perhaps previous point should also be handled by data processor...
    1313* {{{<p><img></p>}}}}: after filtering out {{{<img>}}} filter will left empty {{{<p></p>}}} which then will be correctly handled by data processor, so in this case we don't have to act.
     14
     15Important note: http://dev.ckeditor.com/ticket/9992#comment:7
© 2003 – 2020 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy