try to encode

This commit is contained in:
Guilhem Fauré 2023-05-10 11:13:43 +02:00
parent e4a0eb68af
commit 1541cffa10

View File

@ -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