fix: bsky richtext parse

This commit is contained in:
xtaodada 2024-10-21 18:07:11 +08:00
parent e36c9ce218
commit 13cef4824a
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -197,8 +197,6 @@ class HTML:
entities_offsets.append((end_tag, end))
return internal_i - entity_i
text = utils.add_surrogates(text)
entities_offsets = []
# probably useless because entities are already sorted by telegram