Ticket #1509: 1509.patch

File 1509.patch, 1.2 kB (added by martinkou, 4 months ago)
  • _whatsnew.html

     
    108108                        behind smiley icons and special characters in their corresponding dialogs.</li> 
    109109                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1693">#1693</a>] Custom error messages are now  
    110110                        properly displayed in the file browser.</li> 
     111                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1509">#1509</a>] InsertHtml() in IE will no 
     112                        longer turn the preceding normal whitespace into &amp;nbsp;.</li> 
    111113        </ul> 
    112114        <p> 
    113115                <a href="_whatsnew_history.html">See previous versions history</a> 
  • editor/_source/internals/fck_ie.js

     
    163163 
    164164        // Using the following trick, any comment in the beginning of the HTML will 
    165165        // be preserved. 
    166         html = '<span id="__fakeFCKRemove__">&nbsp;</span>' + html ; 
     166        html = '<span id="__fakeFCKRemove__" style="display:none;">fakeFCKRemove</span>' + html ; 
    167167 
    168168        // Insert the HTML. 
    169169        oSel.createRange().pasteHTML( html ) ;