Ticket #2522: 2522.patch

File 2522.patch, 546 bytes (added by Noah Botimer, 15 years ago)

Patch to handle dangling BR tags

  • editor/_source/internals/fckxhtml.js

     
    208208                        {
    209209                                if ( htmlNode.nextSibling )
    210210                                        return false ;
     211                                else if ( xmlNode.ownerDocument.documentElement == xmlNode && htmlNode.parentNode && htmlNode.parentNode.lastChild == htmlNode )
     212                                        return false ;
    211213                                else
    212214                                {
    213215                                        htmlNode.removeAttribute( '_moz_editor_bogus_node' ) ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy