Changeset 4446


Ignore:
Timestamp:
11/10/09 07:24:10 (5 years ago)
Author:
garry.yao
Message:

Fixing #4573 : 'IgnoreEmptyPargraph' config doesn't work with config 'entites' set to 'false'.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r4445 r4446  
    5151                <li><a href="http://dev.fckeditor.net/ticket/4477">#4477</a> : Adding missing tag names in object style elements.</li> 
    5252                <li><a href="http://dev.fckeditor.net/ticket/4567">#4567</a> : Fixed IE throw error when pressing 'Back Space' in source mode.</li> 
     53                <li><a href="http://dev.fckeditor.net/ticket/4573">#4573</a> : Fixed 'IgnoreEmptyPargraph' config doesn't work with config 'entites' set to 'false'.</li> 
    5354        </ul> 
    5455        <h3> 
  • CKEditor/trunk/_source/plugins/wysiwygarea/plugin.js

    r4445 r4446  
    1616        var nonExitableElementNames = { table:1,pre:1 }; 
    1717        // Matching an empty paragraph at the end of document. 
    18         var emptyParagraphRegexp = /\s*<(p|div|address|h\d|center)[^>]*>\s*(?:<br[^>]*>|&nbsp;|&#160;)\s*(:?<\/\1>)?\s*$/gi; 
     18        var emptyParagraphRegexp = /\s*<(p|div|address|h\d|center)[^>]*>\s*(?:<br[^>]*>|&nbsp;|\u00A0|&#160;)\s*(:?<\/\1>)?\s*$/gi; 
    1919 
    2020        function onInsertHtml( evt ) 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy