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:
4f413bc
)
m.math: minor cleanup.
author
Vladimír Vondruš
<mosra@centrum.cz>
Sun, 15 Sep 2024 21:49:39 +0000
(23:49 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Sun, 15 Sep 2024 22:04:47 +0000
(
00:04
+0200)
plugins/m/math.py
patch
|
blob
|
history
diff --git
a/plugins/m/math.py
b/plugins/m/math.py
index 6cad98c2c62961f662fb74dc297015bbacca56bd..34138528dda90a1d40945e1691c8d9789482aad0 100644
(file)
--- a/
plugins/m/math.py
+++ b/
plugins/m/math.py
@@
-111,8
+111,7
@@
class Math(rst.Directive):
node = nodes.raw(self.block_text, latex2svgextra.patch(content, svg, None, ''), format='html')
node.line = self.content_offset + 1
self.add_name(node)
- container = nodes.container(**self.options)
- container['classes'] += ['m-math']
+ container = nodes.container(classes=['m-math'] + classes, **self.options)
container.append(node)
return [container]