X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/e9aeedc51047d8d5e9e45c5253c776f8994da965..25e29292e9cfecc260478aa9b094b8d37ff98eb5:/src/librarian/elements/__init__.py?ds=inline diff --git a/src/librarian/elements/__init__.py b/src/librarian/elements/__init__.py index 3e8e63f..9481190 100644 --- a/src/librarian/elements/__init__.py +++ b/src/librarian/elements/__init__.py @@ -1,7 +1,10 @@ +# 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, - tools, base) + tools, base, bible) WL_ELEMENTS = { @@ -14,6 +17,7 @@ WL_ELEMENTS = { "coverLogoUrl": etree.ElementBase, "contentWarning": etree.ElementBase, "endnotes": etree.ElementBase, + "original": etree.ElementBase, "utwor": root.Utwor, "dramat_wierszowany_l": masters.Master, @@ -128,6 +132,8 @@ WL_ELEMENTS = { "wywiad_pyt": blocks.WywiadPyt, "wywiad_odp": blocks.WywiadOdp, + "werset": bible.Werset, + # Inline MathML, should really be namespaced. "mrow": etree.ElementBase, "mi": etree.ElementBase,