From cea0af44bad4f7ca829061499649c1e4c314db1b Mon Sep 17 00:00:00 2001 From: hkc Date: Mon, 15 May 2023 10:00:35 +0300 Subject: [PATCH] Apparently that squishes some things together --- mastoposter/text/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastoposter/text/html.py b/mastoposter/text/html.py index c36806c..8446404 100644 --- a/mastoposter/text/html.py +++ b/mastoposter/text/html.py @@ -30,7 +30,7 @@ from html import escape @register_text_node_converter("html") def proc_text_node_to_html(txt: NavigableString) -> str: - return escape(txt).strip() + return escape(txt) @register_converter("a", "html")