Changes between Initial Version and Version 6 of Ticket #5606


Ignore:
Timestamp:
Feb 18, 2014, 12:53:57 PM (5 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5606

    • Property Component changed from General to Core : Output Data
    • Property Summary changed from CKeditor adds HTML tags with no content to CKEditor doesn't output correctly protected source if it's the only content
    • Property Milestone changed from CKEditor 3.x to
    • Property Keywords Confirmed added
  • Ticket #5606 – Description

    initial v6  
    1 CKEditor 3.2.1 (revision 5372)
     11. Open  [[attachment:5606.html]] on FF.
     22. Focus editor.
     33. Switch to source mode.
    24
    3 When starting CKEditor with no content, switching to source view shows "<br />".  If I remove the text, switch to HTML view and back to source view again, the additional "<br />" reappears. 
     5{{{
     6<p><br />
     7<? $stuff='stuff'; ?></p>
     8}}}
    49
    5 This same behavior occurs if the only content is matched by the protectedSource regex.  For example, this following content:
    6 
    7 <? $stuff='stuff'; ?>
    8 
    9 will result in this output:
    10 
    11 <? $stuff='stuff'; ?><br />
    12 
    13 The following examples will not:
    14 
    15 stuff<? $stuff='stuff'; ?>
    16 
    17 or
    18 
    19 <? $stuff='stuff'; ?>some html
     10All browsers autoparagraph protected source. FF additionally adds `<br>`.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy