Skip to content

Commit 2ff36e6

Browse files
LaerteGallaecio
andauthored
chore: Add another scenario to illegal_entities test
Co-authored-by: Adrián Chaves <[email protected]>
1 parent fef8724 commit 2ff36e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_html.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def test_illegal_entities(self):
6666
self.assertEqual(replace_entities("x&#157;y"), "xy")
6767
self.assertEqual(replace_entities("x&#157;y", remove_illegal=False), "x&#157;y")
6868
self.assertEqual(replace_entities("&#82179209091;"), "")
69+
self.assertEqual(replace_entities("&#82179209091;", remove_illegal=False), "&#82179209091;")
6970

7071
def test_browser_hack(self):
7172
# check browser hack for numeric character references in the 80-9F range

0 commit comments

Comments
 (0)