mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 16:04:51 +00:00
Little lonely comma
This commit is contained in:
parent
4a8808fa3c
commit
690fe5f55a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue