X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/0604bdd5f693da9f1c78f9d9fa2276f0c7b6c17b..d04e61819290fc8d6d71b1932c55a774014c1f05:/src/librarian/elements/styles/mat.py?ds=sidebyside diff --git a/src/librarian/elements/styles/mat.py b/src/librarian/elements/styles/mat.py new file mode 100644 index 0000000..f284695 --- /dev/null +++ b/src/librarian/elements/styles/mat.py @@ -0,0 +1,10 @@ +from copy import copy +from ..base import WLElement + + +class Mat(WLElement): + def html_build(self, builder): + e = copy(self) + e.tag = 'math' + e.attrib['xmlns'] = 'http://www.w3.org/1998/Math/MathML' + builder.cursor.append(e)