Ticket #7620: 7620.patch

File 7620.patch, 578 bytes (added by Garry Yao, 13 years ago)
  • _source/core/htmlparser/element.js

     
    163163                                        // filter but not the children.
    164164                                        if ( !writeName )
    165165                                        {
     166                                                // Fix broken parent refs.
     167                                                for ( i = 0 ; i < this.children.length ; i++ )
     168                                                        this.children[ i ].parent = element.parent;
     169
    166170                                                this.writeChildrenHtml.call( element, writer, isChildrenFiltered ? null : filter );
    167171                                                return;
    168172                                        }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy