chiark / gitweb /
m.code: make it work with newer docutils.
authorVladimír Vondruš <mosra@centrum.cz>
Wed, 28 Jun 2023 13:48:24 +0000 (15:48 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Wed, 28 Jun 2023 14:01:14 +0000 (16:01 +0200)
Not sure when this got broken but omitting the option no longer works.

plugins/m/code.py

index ab47fa81b88055f92789f221995564734194b6ac..08fd6acb1c48ae10cead39cf8dd87d28e4aa80d5 100644 (file)
@@ -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):
         """