Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #11437: strip_tags_fix.diff

File strip_tags_fix.diff, 333 bytes (added by jdalton, 3 months ago)

the fix :P

  • string.js

    old new  
    5656  }, 
    5757   
    5858  stripTags: function() { 
    59     return this.replace(/<\/?[^>]+>/gi, ''); 
     59    return this.replace(/<\/?[^>]+>/g, ''); 
    6060  }, 
    6161 
    6262  stripScripts: function() {