Skip to content

Commit

Permalink
Test also removing unwanted boolean attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
dedene committed Nov 28, 2023
1 parent b51a041 commit 0260dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/html5/test_sanitizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def test_should_allow_contenteditable
end

def test_boolean_attributes
input = "<video controls></video>"
input = "<video controls download></video>"
expected_html5 = "<video controls=''></video>"
output_html5 = sanitize_html5(input).tr('"', "'")

Expand Down

0 comments on commit 0260dd8

Please sign in to comment.