mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 13:34: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
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue