Changeset 1073

Show
Ignore:
Timestamp:
10/08/08 16:47:42 (2 months 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

Files:
1 modified

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);