diff options
author | Timm <kaspth@gmail.com> | 2013-07-17 18:44:29 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-15 23:40:54 +0200 |
commit | 42f0198148850564e53a1515a19d8a7f00f5fdd2 (patch) | |
tree | e31586b89117ebfcaeca67f6093f5b8e26526667 /actionview/lib | |
parent | dad96eff0df2adbcef91360387bcc323bc76faea (diff) | |
download | rails-42f0198148850564e53a1515a19d8a7f00f5fdd2.tar.gz rails-42f0198148850564e53a1515a19d8a7f00f5fdd2.tar.bz2 rails-42f0198148850564e53a1515a19d8a7f00f5fdd2.zip |
Updated documentation to tell that a custom scrubber takes precedence.
Diffstat (limited to 'actionview/lib')
-rw-r--r-- | actionview/lib/action_view/helpers/sanitize_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/lib/action_view/helpers/sanitize_helper.rb b/actionview/lib/action_view/helpers/sanitize_helper.rb index a04c7a56b5..4d2c6e64d9 100644 --- a/actionview/lib/action_view/helpers/sanitize_helper.rb +++ b/actionview/lib/action_view/helpers/sanitize_helper.rb @@ -45,6 +45,7 @@ module ActionView # # <%= sanitize @article.body, scrubber: scrubber %> # + # A custom scrubber takes precedence over custom tags and attributes # Learn more about scrubbers here: https://github.com/flavorjones/loofah # # Custom Use - tags and attributes |