mirror of
https://github.com/Xtao-Labs/iShotaBot.git
synced 2024-11-21 22:58:09 +00:00
fix: bsky richtext parse
This commit is contained in:
parent
e36c9ce218
commit
13cef4824a
@ -197,8 +197,6 @@ class HTML:
|
|||||||
entities_offsets.append((end_tag, end))
|
entities_offsets.append((end_tag, end))
|
||||||
return internal_i - entity_i
|
return internal_i - entity_i
|
||||||
|
|
||||||
text = utils.add_surrogates(text)
|
|
||||||
|
|
||||||
entities_offsets = []
|
entities_offsets = []
|
||||||
|
|
||||||
# probably useless because entities are already sorted by telegram
|
# probably useless because entities are already sorted by telegram
|
||||||
|
Loading…
Reference in New Issue
Block a user