From 1541cffa10b9199e684e830c9dde3ecbda66d8e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilhem=20Faur=C3=A9?= Date: Wed, 10 May 2023 11:13:43 +0200 Subject: [PATCH] try to encode --- spip2md/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spip2md/content.py b/spip2md/content.py index 5f04b1d..e8d38bb 100644 --- a/spip2md/content.py +++ b/spip2md/content.py @@ -103,7 +103,7 @@ class content: def get_markdown(self): for spip, markdown in self._mappings.values(): self.markup = spip.sub(markdown, self.markup) - return self.markup + return self.markup.encode("utf-8").decode("utf-8") # Parses a file & display its parse tree