From c94b54dde8762ba293fb57a00030bcf5f3c0bbfe Mon Sep 17 00:00:00 2001 From: Christof Dorner Date: Wed, 15 Mar 2023 20:49:23 +0100 Subject: [PATCH] Add `mention` and `hashtag` classes to hashtag anchors (#542) --- core/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/html.py b/core/html.py index 6f8cc2a..55adfd2 100644 --- a/core/html.py +++ b/core/html.py @@ -205,7 +205,7 @@ class FediverseHtmlParser(HTMLParser): hashtag = hashtag.lstrip("#") self.hashtags.add(hashtag.lower()) if self.uri_domain: - return f'' + return f'' else: return f''