Ticket #3439: 3439.patch

File 3439.patch, 635 bytes (added by Frederico Caldeira Knabben, 14 years ago)
  • editor/_source/internals/fckregexlib.js

     
    6363// Empty elements may be <p></p> or even a simple opening <p> (see #211).
    6464EmptyParagraph  : /^<(p|div|address|h\d|center)(?=[ >])[^>]*>\s*(<\/\1>)?$/ ,
    6565
    66 EmptyOutParagraph : /^<(p|div|address|h\d|center)(?=[ >])[^>]*>(?:\s*|&nbsp;)(<\/\1>)?$/ ,
     66EmptyOutParagraph : /^<(p|div|address|h\d|center)(?=[ >])[^>]*>(?:\s*|&nbsp;|&#160;)(<\/\1>)?$/ ,
    6767
    6868TagBody                 : /></ ,
    6969
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy