chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4838711
)
m.code: make it work with newer docutils.
author
Vladimír Vondruš
<mosra@centrum.cz>
Wed, 28 Jun 2023 13:48:24 +0000
(15:48 +0200)
committer
Vladimí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
patch
|
blob
|
history
diff --git
a/plugins/m/code.py
b/plugins/m/code.py
index ab47fa81b88055f92789f221995564734194b6ac..08fd6acb1c48ae10cead39cf8dd87d28e4aa80d5 100644
(file)
--- 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):
"""