From d29aa331d61a7a711f9bd209fd373ab266dc659e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilhem=20Faur=C3=A9?= Date: Mon, 24 Apr 2023 14:12:20 +0200 Subject: [PATCH] unicode in yaml & better term output --- spip2md/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spip2md/metadata.py b/spip2md/metadata.py index c1d75de..eb34f44 100644 --- a/spip2md/metadata.py +++ b/spip2md/metadata.py @@ -32,7 +32,7 @@ class metadata: self.microblog = article.microblog # Probably unused def get_slug(self): - return slugify(f"{self.id}-{self.title}") + return slugify(f"{self.id}-{self.title}", allow_unicode=False) def get_frontmatter(self): return "---\n{}---".format(