Skip to content

Commit

Permalink
test Text.check: add entity reference with new line case
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jul 11, 2024
1 parent ddea83f commit 20f8084
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_text_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ def test_entity_name_non_ascii_symbol
# U+00BF INVERTED QUESTION MARK
assert_check_failed("&\u00BF;", "&")
end

def test_entity_name_new_line
# U+0026 AMPERSAND
assert_check_failed("&\namp\nx;", "&")
end
end
end
end

0 comments on commit 20f8084

Please sign in to comment.