Little lonely comma

This commit is contained in:
Dan 2017-12-14 11:07:04 +01:00
parent 4a8808fa3c
commit 690fe5f55a

View File

@ -74,8 +74,8 @@ class Markdown:
# Replace each SMP code point with a surrogate pair
return cls.SMP_RE.sub(
lambda match: # Split SMP in two surrogates
"".join(chr(i) for i in unpack("<HH", match.group().encode("utf-16le")))
, text
"".join(chr(i) for i in unpack("<HH", match.group().encode("utf-16le"))),
text
)
@staticmethod