We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent becbad0 commit c190b32Copy full SHA for c190b32
test/sanitizer_test.rb
@@ -414,7 +414,7 @@ def test_should_sanitize_img_dynsrc_lowsrc
414
end
415
416
def test_should_sanitize_div_background_image_unicode_encoded
417
- raw = %(background-image:\0075\0072\006C\0028'\006a\0061\0076\0061\0073\0063\0072\0069\0070\0074\003a\0061\006c\0065\0072\0074\0028.1027\0058.1053\0053\0027\0029'\0029)
+ raw = %(background-image:\u0075\u0072\u006C\u0028'\u006a\u0061\u0076\u0061\u0073\u0063\u0072\u0069\u0070\u0074\u003a\u0061\u006c\u0065\u0072\u0074\u0028.1027\u0058.1053\u0053\u0027\u0029'\u0029)
418
assert_equal '', sanitize_css(raw)
419
420
0 commit comments