X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/d04e61819290fc8d6d71b1932c55a774014c1f05..22335f3a7ebc694d97e7e0b6f38311e3aef56879:/src/librarian/elements/styles/mat.py?ds=sidebyside diff --git a/src/librarian/elements/styles/mat.py b/src/librarian/elements/styles/mat.py index f284695..fa353f9 100644 --- a/src/librarian/elements/styles/mat.py +++ b/src/librarian/elements/styles/mat.py @@ -8,3 +8,7 @@ class Mat(WLElement): e.tag = 'math' e.attrib['xmlns'] = 'http://www.w3.org/1998/Math/MathML' builder.cursor.append(e) + + def epub_build(self, builder): + builder.start_element('img', {"src": builder.mathml(self)}) + builder.end_element()