Skip to content

Commit db508dc

Browse files
committed
Escape escape property in utils/entities.py
1 parent 29e2472 commit db508dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/entities.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def entity_characters(inp):
2525

2626

2727
def codepoint_to_character(inp):
28-
return ("\U000" + inp[2:]).decode("unicode-escape")
28+
return ("\\U000" + inp[2:]).decode("unicode-escape")
2929

3030

3131
def make_tests_json(entities):

0 commit comments

Comments
 (0)