Ticket #4193: 4193_2.patch
File 4193_2.patch, 1.6 KB (added by , 15 years ago) |
---|
-
CHANGES.html
38 38 CKEditor 3.0 (SVN)</h3> 39 39 <p> 40 40 New features:</p> 41 <ul> 41 42 <li><a href="http://dev.fckeditor.net/ticket/3188">#3188</a> : Introduce 42 43 <pre> formatting feature when converting from other blocks.</li> 43 <ul>44 <li> </li>45 44 </ul> 46 45 <p> 47 46 Fixed issues:</p> … … 232 231 <br> was not been always added to blank lines ending with &nbsp;.</li> 233 232 <li><a href="http://dev.fckeditor.net/ticket/4178">#4178</a> : It's now possible to 234 233 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> 235 235 </ul> 236 236 <h3> 237 237 CKEditor 3.0 RC</h3> -
_source/plugins/styles/plugin.js
1196 1196 else 1197 1197 styleText = unparsedCssText; 1198 1198 1199 // Shrinking white-spaces around colon(#4147). 1200 // Shrinking white-spaces around semi-colon. 1199 // Shrinking white-spaces around colon and semi-colon (#4147). 1201 1200 // Compensate tail semi-colon. 1202 return styleText.replace( /\s*:\s*/, ':' ) 1203 .replace( /\s*(?:;\s*|$)/, ';' ) 1201 return styleText.replace( /\s*([;:])\s*/, '$1' ) 1204 1202 .replace( /([^\s;])$/, '$1;') 1205 1203 .toLowerCase(); 1206 1207 1204 } 1208 1205 1209 1206 function applyStyle( document, remove )