Changeset 1073 for trunk


Ignore:
Timestamp:
10/08/08 21:47:42 (10 years ago)
Author:
douglas
Message:

CHANGED Ticket #1290 At some point we stopped cleaning empty links. They're just as useless as all the other empty tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r1072 r1073  
    37713771    // @todo : check if this is quicker 
    37723772    //  if (!['A','SPAN','B','STRONG','I','EM','FONT'].contains(el.tagName) && !el.firstChild) 
    3773     if ( /^(span|b|strong|i|em|font|div|p)$/i.test(el.tagName) && !el.firstChild) 
     3773    if ( /^(a|span|b|strong|i|em|font|div|p)$/i.test(el.tagName) && !el.firstChild) 
    37743774    { 
    37753775      Xinha.removeFromParent(el); 
Note: See TracChangeset for help on using the changeset viewer.