From 13cef4824a6e4be9f84081215df236039e1b0fd9 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 21 Oct 2024 18:07:11 +0800 Subject: [PATCH] fix: bsky richtext parse --- models/models/bsky_richtext.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/models/models/bsky_richtext.py b/models/models/bsky_richtext.py index 80a6bd0..29809b0 100644 --- a/models/models/bsky_richtext.py +++ b/models/models/bsky_richtext.py @@ -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