Changes between Initial Version and Version 2 of Ticket #10497


Ignore:
Timestamp:
Jun 3, 2013, 12:34:52 PM (11 years ago)
Author:
Jakub Ś
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10497

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

    initial v2  
    772. Clear editor contents and paste below code:
    88{{{
    9 <table>
    10         <tbody>
    11                 <tr>
    12                         <td>Table cell contents</td>
    13                 </tr>
    14         </tbody>
     9<br />
     10<br />
     11<table border="1" cellpadding="1" cellspacing="1" style="width:500px">
     12 <tbody>
     13  <tr>
     14   <td>Table</td>
     15  </tr>
     16 </tbody>
    1517</table>
    16 <br/>
    17 <br/>
    18 <p>P contents</p>
     18<br />
     19<br />
     20<hr />
    1921}}}
    20223. Switch to WYSIWYG and then to source:
    2123{{{
    22 <table>
     24&nbsp;
     25<table border="1" cellpadding="1" cellspacing="1" style="width:500px">
    2326        <tbody>
    2427                <tr>
    25                         <td>Table cell contents</td>
     28                        <td>Table</td>
    2629                </tr>
    2730        </tbody>
    2831</table>
    2932&nbsp;
    30 <p>P contents</p>
     33<hr />
    3134}}}
    3235Result: As you can see two BR's were changed into single &nbsp;. [[BR]]
    33 If you were writing an article, created table and wanted to make some space below it then on page save you would end up with single &nbsp; which wasn't intended.
     36If you were writing an article, created table and wanted to make some space above it then on page save you would end up with single &nbsp; which wasn't intended.
    3437
    3538NOTE: This is happening if you use one or two BR's. If you use three BR's then result is "br br nbsp". Assuming that last Br has to be changed into nbsp, should it be "br nbsp" when two BR's are used?
     
    3841
    3942It seems  ticket #10146 hasn’t been fully fixed thus this one should be closed and the former reopened.[[BR]]
    40 I have just found that if you paste below into editor behaviour will be different in IE. All other browsers change two BR’s into &nbsp; but IE does it in one by one style – it removes br and on second switch it turns last br into &nbsp;
    41 {{{
    42 <div>text</div>
    43 <br />
    44 <br />
    45 <table>
    46         <tbody>
    47                 <tr>
    48                         <td>Table cell contents</td>
    49                 </tr>
    50         </tbody>
    51 </table>
    52 }}}
     43I have just found that if you paste above code into editor, behaviour will be different in IE. All other browsers change two BR’s into &nbsp; but IE does it in "one by one" style – it removes br and on second switch it turns last br into &nbsp;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy