Skip to content

Commit 0260dd8

Browse files
committed
Test also removing unwanted boolean attrs
1 parent b51a041 commit 0260dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/html5/test_sanitizer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def test_should_allow_contenteditable
201201
end
202202

203203
def test_boolean_attributes
204-
input = "<video controls></video>"
204+
input = "<video controls download></video>"
205205
expected_html5 = "<video controls=''></video>"
206206
output_html5 = sanitize_html5(input).tr('"', "'")
207207

0 commit comments

Comments
 (0)