Changeset 7542


Ignore:
Timestamp:
07/05/12 12:23:42 (2 years ago)
Author:
garry.yao
Message:

#8857: Fixed a typo in htmlparser element.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/_source/core/htmlparser/element.js

    r7477 r7542  
    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 */ 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy