Skip to content

Commit

Permalink
replacement character as Char
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Sep 30, 2017
1 parent 5637868 commit 39244b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html.cr
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ module HTML
.>(Char::MAX_CODEPOINT),
0xD800..0xDFFF # unicode surrogate characters
# Replace invalid characters with replacement character.
"\uFFFD"
'\uFFFD'
else
# don't replace disallowed codepoints
unless codepoint == 0x007F ||
Expand Down

0 comments on commit 39244b4

Please sign in to comment.