From 67f64a4313709ca689a7f80f53437eafa371baf5 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 13 May 2023 10:32:36 -0600 Subject: [PATCH] Fix mention formatting on Sengi --- core/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/html.py b/core/html.py index a32b0a0..4efd700 100644 --- a/core/html.py +++ b/core/html.py @@ -196,7 +196,7 @@ class FediverseHtmlParser(HTMLParser): self.mention_aliases[short_hash] = handle_hash elif self.mention_aliases.get(short_hash) != handle_hash: short_handle = handle - return f'@{html.escape(short_handle)}' + return f'@{html.escape(short_handle)}' else: return "@" + html.escape(handle)