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 @@ def validate!(var, name) # === 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?+