Changeset 1345 for trunk


Ignore:
Timestamp:
02/03/18 13:24:13 (7 months ago)
Author:
gogo
Message:

#1520 - removeAttribute of className is wrong, should removeAttribute class (I guess this was leaving classes defined when cleaning word stuff not a biggie)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r1341 r1345  
    44794479      if ( !/\S/.test(node.className)) 
    44804480      { 
    4481         node.removeAttribute("className"); 
     4481        node.removeAttribute("class"); 
    44824482        ++stats.mso_class; 
    44834483      } 
Note: See TracChangeset for help on using the changeset viewer.