Skip to content

Commit 0a2927f

Browse files
author
James Graham
committed
Don't replace CR with LF in entities
1 parent 907bde2 commit 0a2927f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html5lib/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2670,7 +2670,7 @@
26702670

26712671
replacementCharacters = {
26722672
0x0:u"\uFFFD",
2673-
0x0d:u"\u000A",
2673+
0x0d:u"\u000D",
26742674
0x80:u"\u20AC",
26752675
0x81:u"\u0081",
26762676
0x81:u"\u0081",

0 commit comments

Comments
 (0)