Skip to content

Commit 1206877

Browse files
author
Rafael Mendonça França
committed
Use the argument in the helper method
1 parent 7f3e539 commit 1206877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sanitizer_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def sanitize_css(input)
472472
end
473473

474474
def scope_allowed_tags(tags)
475-
Rails::Html::WhiteListSanitizer.allowed_tags = %w(u)
475+
Rails::Html::WhiteListSanitizer.allowed_tags = tags
476476
yield Rails::Html::WhiteListSanitizer.new
477477

478478
ensure

0 commit comments

Comments
 (0)