Changeset 668


Ignore:
Timestamp:
01/16/07 09:15:50 (7 years ago)
Author:
gogo
Message:

ticket:891 noscript content got escaped

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/getHTML.js

    r662 r668  
    228228 
    229229    case 3: // Node.TEXT_NODE 
    230       html = /^script|style$/i.test(root.parentNode.tagName) ? root.data : Xinha.htmlEncode(root.data); 
     230      html = /^script|noscript|style$/i.test(root.parentNode.tagName) ? root.data : Xinha.htmlEncode(root.data); 
    231231    break; 
    232232 
Note: See TracChangeset for help on using the changeset viewer.