Ticket #4193: 4193.patch

File 4193.patch, 1.7 KB (added by tobiasz.cudnik, 3 years ago)
  • CHANGES.html

     
    3838                CKEditor 3.0 (SVN)</h3> 
    3939        <p> 
    4040                New features:</p> 
     41        <ul> 
    4142        <li><a href="http://dev.fckeditor.net/ticket/3188">#3188</a> : Introduce 
    4243                &lt;pre&gt; formatting feature when converting from other blocks.</li> 
    43         <ul> 
    44                 <li>&nbsp;</li> 
    4544        </ul> 
    4645        <p> 
    4746                Fixed issues:</p> 
     
    232231                        &lt;br&gt; was not been always added to blank lines ending with &amp;nbsp;.</li> 
    233232                <li><a href="http://dev.fckeditor.net/ticket/4178">#4178</a> : It&#39;s now possible to  
    234233                        copy and paste Flash content among different editor instances.</li> 
     234                <li><a href="http://dev.fckeditor.net/ticket/4193">#4193</a> : Automatic font color produced empty span on Firefox 3.5.</li> 
    235235        </ul> 
    236236        <h3> 
    237237                CKEditor 3.0 RC</h3> 
  • _source/plugins/styles/plugin.js

     
    11991199                // Shrinking white-spaces around colon(#4147). 
    12001200                // Shrinking white-spaces around semi-colon. 
    12011201                // Compensate tail semi-colon. 
    1202                 return styleText.replace( /\s*:\s*/, ':' ) 
     1202                styleText = styleText.replace( /\s*:\s*/, ':' ) 
    12031203                                                         .replace( /\s*(?:;\s*|$)/, ';' ) 
    12041204                                                         .replace( /([^\s;])$/, '$1;') 
    12051205                                                         .toLowerCase(); 
    12061206 
     1207                // IE will leave a single semicolon when failed to parse the style text.(#3891) 
     1208                return styleText == ';' ? '' : styleText;  
    12071209        } 
    12081210 
    12091211        function applyStyle( document, remove ) 
© 2003 – 2011 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy