X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/d04e61819290fc8d6d71b1932c55a774014c1f05..580442a3d316c4ca444dd629e24a16b1336f01d7:/src/librarian/elements/__init__.py diff --git a/src/librarian/elements/__init__.py b/src/librarian/elements/__init__.py index f3a8521..549d0cb 100644 --- a/src/librarian/elements/__init__.py +++ b/src/librarian/elements/__init__.py @@ -10,7 +10,8 @@ WL_ELEMENTS = { "coverBarColor": etree.ElementBase, "coverBoxPosition": etree.ElementBase, "coverLogoUrl": etree.ElementBase, - + "contentWarning": etree.ElementBase, + "utwor": root.Utwor, "dramat_wierszowany_l": masters.Master, "dramat_wierszowany_lp": masters.Master, @@ -82,7 +83,7 @@ WL_ELEMENTS = { "naglowek_czesc": headers.NaglowekCzesc, "naglowek_akt": headers.NaglowekCzesc, - "naglowek_scena": headers.NaglowekRozdzial, + "naglowek_scena": headers.NaglowekScena, "naglowek_rozdzial": headers.NaglowekRozdzial, "naglowek_podrozdzial": headers.NaglowekPodrozdzial, "srodtytul": headers.NaglowekCzesc, @@ -111,6 +112,8 @@ WL_ELEMENTS = { "animacja": figures.Animacja, "ilustr": figures.Ilustr, + "ref": etree.ElementBase, + # Inline MathML, should really be namespaced. "mrow": etree.ElementBase, "mi": etree.ElementBase,