+# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
from lxml import etree
from . import (blocks, comments, drama, figures, footnotes, front, headers,
masters, paragraphs, poetry, ref, root, separators, styles, themes,
"nota": blocks.Nota,
"nota_red": comments.NotaRed,
- "extra": comments.Abstrakt,
+ "extra": comments.Uwaga,
"abstrakt": comments.Abstrakt,
"naglowek_czesc": headers.NaglowekCzesc,
"wywiad_odp": blocks.WywiadOdp,
# Inline MathML, should really be namespaced.
- "mrow": etree.ElementBase,
- "mi": etree.ElementBase,
- "mo": etree.ElementBase,
- "msup": etree.ElementBase,
- "mn": etree.ElementBase,
- "mfrac": etree.ElementBase,
- "mfenced": etree.ElementBase,
+ "mrow": styles.MRow,
+ "mi": styles.M,
+ "mo": styles.M,
+ "msup": styles.MSup,
+ "mn": styles.M,
+ "mfrac": styles.MFrac,
+ "mfenced": styles.MFenced,
}