Changes between Initial Version and Version 2 of Ticket #10497
- Timestamp:
- Jun 3, 2013, 12:34:52 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10497
-
Property
Status
changed from
new
toconfirmed
-
Property
Status
changed from
-
Ticket #10497 – Description
initial v2 7 7 2. Clear editor contents and paste below code: 8 8 {{{ 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> 15 17 </table> 16 <br />17 <br />18 < p>P contents</p>18 <br /> 19 <br /> 20 <hr /> 19 21 }}} 20 22 3. Switch to WYSIWYG and then to source: 21 23 {{{ 22 <table> 24 25 <table border="1" cellpadding="1" cellspacing="1" style="width:500px"> 23 26 <tbody> 24 27 <tr> 25 <td>Table cell contents</td>28 <td>Table</td> 26 29 </tr> 27 30 </tbody> 28 31 </table> 29 32 30 < p>P contents</p>33 <hr /> 31 34 }}} 32 35 Result: As you can see two BR's were changed into single . [[BR]] 33 If you were writing an article, created table and wanted to make some space belowit then on page save you would end up with single which wasn't intended.36 If 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 which wasn't intended. 34 37 35 38 NOTE: 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? … … 38 41 39 42 It 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 but IE does it in one by one style – it removes br and on second switch it turns last br into 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 }}} 43 I 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 but IE does it in "one by one" style – it removes br and on second switch it turns last br into