From: Vladimír Vondruš Date: Wed, 28 Jun 2023 13:48:24 +0000 (+0200) Subject: m.code: make it work with newer docutils. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=604f01f73f809fec057450dc43b9671984dd41be;p=blog.git m.code: make it work with newer docutils. Not sure when this got broken but omitting the option no longer works. --- diff --git a/plugins/m/code.py b/plugins/m/code.py index ab47fa81..08fd6acb 100644 --- a/plugins/m/code.py +++ b/plugins/m/code.py @@ -171,6 +171,7 @@ class Include(docutils.parsers.rst.directives.misc.Include): 'filters': directives.unchanged, 'hl-lines': directives.unchanged } + has_content = False def run(self): """