Ticket #8857: 8857.patch

File 8857.patch, 557 bytes (added by Alfonso Martínez de Lizarrondo, 13 years ago)

Proposed patch

  • _source/core/htmlparser/element.js

     
    4747                                || dtd.$tableContent[ tagName ]
    4848                                || dtd.$nonEditable[ tagName ]
    4949                                || tagName == 'br' ),
    50                 isEmpty = !!dtd.$empty[ name ];
     50                isEmpty = !!dtd.$empty[ tagName ];
    5151
    5252        this.isEmpty    = isEmpty;
    53         this.isUnknown  = !dtd[ name ];
     53        this.isUnknown  = !dtd[ tagName ];
    5454
    5555        /** @private */
    5656        this._ =
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy