~netlandish/django-wiki

6e5e1ca6868f5c1903d2e7a542be93760e3c6a00 — Benjamin Bach 6 years ago 2fe93e7
Add an extra comment
1 files changed, 1 insertions(+), 0 deletions(-)

M src/wiki/plugins/macros/mdx/toc.py
M src/wiki/plugins/macros/mdx/toc.py => src/wiki/plugins/macros/mdx/toc.py +1 -0
@@ 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)