aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
Diffstat (limited to 'actionview')
-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?+