X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/e67fee0ec88f99401f5add011bf801ec10181e37..eae370b75207e1dc15f5f3f7ee7a402c7721d9a8:/src/librarian/elements/__init__.py diff --git a/src/librarian/elements/__init__.py b/src/librarian/elements/__init__.py index 549d0cb..c934299 100644 --- a/src/librarian/elements/__init__.py +++ b/src/librarian/elements/__init__.py @@ -1,6 +1,6 @@ from lxml import etree from . import (blocks, comments, drama, figures, footnotes, front, headers, - masters, paragraphs, poetry, root, separators, styles, themes) + masters, paragraphs, poetry, ref, root, separators, styles, themes) WL_ELEMENTS = { @@ -11,6 +11,7 @@ WL_ELEMENTS = { "coverBoxPosition": etree.ElementBase, "coverLogoUrl": etree.ElementBase, "contentWarning": etree.ElementBase, + "endnotes": etree.ElementBase, "utwor": root.Utwor, "dramat_wierszowany_l": masters.Master, @@ -71,6 +72,8 @@ WL_ELEMENTS = { "pr": footnotes.PR, "pt": footnotes.PT, + "ref": ref.Ref, + "begin": themes.Begin, "end": themes.End, "motyw": themes.Motyw, @@ -112,7 +115,9 @@ WL_ELEMENTS = { "animacja": figures.Animacja, "ilustr": figures.Ilustr, - "ref": etree.ElementBase, + # Section + "wywiad_pyt": blocks.WywiadPyt, + "wywiad_odp": blocks.WywiadOdp, # Inline MathML, should really be namespaced. "mrow": etree.ElementBase,