From 6e5e1ca6868f5c1903d2e7a542be93760e3c6a00 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Sun, 1 Jul 2018 14:28:34 +0200 Subject: [PATCH] Add an extra comment --- src/wiki/plugins/macros/mdx/toc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wiki/plugins/macros/mdx/toc.py b/src/wiki/plugins/macros/mdx/toc.py index 3012b483..5a4e9c5b 100644 --- a/src/wiki/plugins/macros/mdx/toc.py +++ b/src/wiki/plugins/macros/mdx/toc.py @@ -16,6 +16,7 @@ def wiki_slugify(*args, **kwargs): class WikiTreeProcessorClass(TocTreeprocessor): def run(self, doc): + # Necessary because self.title is set to a LazyObject via gettext_lazy if self.title: self.title = str(self.title) super().run(doc) -- 2.45.2