aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
diff options
context:
space:
mode:
authorTimm <kaspth@gmail.com>2013-09-13 17:00:02 +0200
committerTimm <kaspth@gmail.com>2014-06-16 21:04:14 +0200
commit19406dad7d1d96b122d691dd34ee5d701945e77b (patch)
treef4bc103d347ae80cb5eab60dc31af2287bffc07a /actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
parent7cd2eb516e375d76296ed510f9940ff4f78e4f48 (diff)
downloadrails-19406dad7d1d96b122d691dd34ee5d701945e77b.tar.gz
rails-19406dad7d1d96b122d691dd34ee5d701945e77b.tar.bz2
rails-19406dad7d1d96b122d691dd34ee5d701945e77b.zip
Minor rewording in TargetScrubber documentation.
Diffstat (limited to 'actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb')
-rw-r--r--actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb b/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
index 398879a42c..9e573b14ca 100644
--- a/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
+++ b/actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb
@@ -113,10 +113,10 @@ end
# === TargetScrubber
#
-# Where PermitScrubber picks out tags and attributes to permit in sanitization
-# TargetScrubber picks tags and attributes to target for removal
+# Where PermitScrubber picks out tags and attributes to permit in
+# sanitization, TargetScrubber targets them for removal
#
-# It uses PermitScrubber open architecture to redefine:
+# The open architecture of PermitScrubber is used to redefine:
# - +allowed_node?+
# # allowed if node is not in tags
# - +scrub_attribute?+