Changeset 4355


Ignore:
Timestamp:
10/12/09 18:53:42 (5 years ago)
Author:
garry.yao
Message:

Fixing 4512#: styles plugin incorrectly adding semicolons to style text.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r4354 r4355  
    8181                <li><a href="http://dev.fckeditor.net/ticket/4504">#4504</a> : Fixed 'Enter'/'Esc' key is not working on dialog button.</li> 
    8282                <li><a href="http://dev.fckeditor.net/ticket/4245">#4245</a> : 'Strange Template' now come with a style attribute for width.</li> 
     83                <li><a href="http://dev.fckeditor.net/ticket/4512">#4512</a> : Fixed styles plugin incorrectly adding semicolons to style text.</li> 
    8384        </ul> 
    8485        <h3> 
  • CKEditor/trunk/_source/plugins/styles/plugin.js

    r4318 r4355  
    268268 
    269269                for ( var style in stylesDef ) 
    270                         stylesText += style + ':' + stylesDef[ style ] + ';'; 
     270                        stylesText += ( style + ':' + stylesDef[ style ] ).replace( semicolonFixRegex, ';' ); 
    271271 
    272272                // Browsers make some changes to the style when applying them. So, here 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy