From 42f0198148850564e53a1515a19d8a7f00f5fdd2 Mon Sep 17 00:00:00 2001 From: Timm Date: Wed, 17 Jul 2013 18:44:29 +0200 Subject: Updated documentation to tell that a custom scrubber takes precedence. --- actionview/lib/action_view/helpers/sanitize_helper.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionview/lib/action_view') 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 -- cgit v1.2.3