Permalink
Browse files

Add note regarding customization of allowed tags/attributes

  • Loading branch information...
dtrasbo committed Mar 30, 2012
1 parent 0475578 commit e9aca992d30a9e6694acef0c2a021320c725c242
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
@@ -65,6 +65,10 @@ it's useful to be able to bypass the pre-parsing sanitization. Two ways:
2. Use the special `:safe` flag, which is not passed on to the parser.
_(Deprecated in 1.1, removed in 2.0)._
+With Rails' `sanitize`, if you don't bypass it, you can choose which tags and
+attributes to allow as described in the
+[documentation](http://api.rubyonrails.org/classes/ActionView/Helpers/SanitizeHelper.html#method-i-sanitize).
+
Compatibility
-------------

0 comments on commit e9aca99

Please sign in to comment.