Little lonely comma
This commit is contained in:
parent
4a8808fa3c
commit
690fe5f55a
@ -74,8 +74,8 @@ class Markdown:
|
|||||||
# Replace each SMP code point with a surrogate pair
|
# Replace each SMP code point with a surrogate pair
|
||||||
return cls.SMP_RE.sub(
|
return cls.SMP_RE.sub(
|
||||||
lambda match: # Split SMP in two surrogates
|
lambda match: # Split SMP in two surrogates
|
||||||
"".join(chr(i) for i in unpack("<HH", match.group().encode("utf-16le")))
|
"".join(chr(i) for i in unpack("<HH", match.group().encode("utf-16le"))),
|
||||||
, text
|
text
|
||||||
)
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user