Ticket #4193: 4193_2.patch

File 4193_2.patch, 1.6 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

     
    11961196                else 
    11971197                        styleText = unparsedCssText; 
    11981198 
    1199                 // Shrinking white-spaces around colon(#4147). 
    1200                 // Shrinking white-spaces around semi-colon. 
     1199                // Shrinking white-spaces around colon and semi-colon (#4147). 
    12011200                // Compensate tail semi-colon. 
    1202                 return styleText.replace( /\s*:\s*/, ':' ) 
    1203                                                          .replace( /\s*(?:;\s*|$)/, ';' ) 
     1201                return styleText.replace( /\s*([;:])\s*/, '$1' ) 
    12041202                                                         .replace( /([^\s;])$/, '$1;') 
    12051203                                                         .toLowerCase(); 
    1206  
    12071204        } 
    12081205 
    12091206        function applyStyle( document, remove ) 
© 2003 – 2011 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy