From c1e80e4fccb63e31b0b7a080ceae40e28caad332 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 15 Sep 2024 23:49:39 +0200 Subject: [PATCH] m.math: minor cleanup. --- plugins/m/math.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/m/math.py b/plugins/m/math.py index 6cad98c2..34138528 100644 --- 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] -- 2.30.2