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

Changeset 8269

Show
Ignore:
Timestamp:
12/04/07 20:04:48 (7 months ago)
Author:
david
Message:

Removed some of the tags that does not make sense to allow per default in the whitelist

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb

    r8213 r8269  
    7373     
    7474    # Specifies the default Set of tags that the #sanitize helper will allow unscathed. 
    75     self.allowed_tags           = Set.new(%w(strong em b i p code pre tt output samp kbd var sub  
     75    self.allowed_tags           = Set.new(%w(strong em b i p code pre tt samp kbd var sub  
    7676      sup dfn cite big small address hr br div span h1 h2 h3 h4 h5 h6 ul ol li dt dd abbr  
    77       acronym a img blockquote del ins fieldset legend)) 
     77      acronym a img blockquote del ins)) 
    7878 
    7979    # Specifies the default Set of html attributes that the #sanitize helper will leave