Skip to content
Browse files

Add note regarding customization of allowed tags/attributes

  • Loading branch information...
1 parent 0475578 commit e9aca992d30a9e6694acef0c2a021320c725c242 @dtrasbo committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
4 README.md
@@ -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.
Something went wrong with that request. Please try again.