X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/bc7e9351bc22788218e988c188defdbdfbe12fd8..c7734daf3d6884c358f1644c1f8f7970453fafb1:/src/librarian/elements/__init__.py?ds=sidebyside diff --git a/src/librarian/elements/__init__.py b/src/librarian/elements/__init__.py index 6efd725..ff4eb43 100644 --- a/src/librarian/elements/__init__.py +++ b/src/librarian/elements/__init__.py @@ -1,10 +1,11 @@ from lxml import etree from . import (blocks, comments, drama, figures, footnotes, front, headers, masters, paragraphs, poetry, ref, root, separators, styles, themes, - tools) + tools, base) WL_ELEMENTS = { + 'snippet': base.Snippet, 'meta': etree.ElementBase, 'coverClass': etree.ElementBase, "developmentStage": etree.ElementBase, @@ -23,6 +24,8 @@ WL_ELEMENTS = { "opowiadanie": masters.Master, "powiesc": masters.Master, + "blok": tools.WLElement, + "autor_utworu": front.AutorUtworu, "dzielo_nadrzedne": front.DzieloNadrzedne, "nazwa_utworu": front.NazwaUtworu, @@ -67,6 +70,7 @@ WL_ELEMENTS = { "wers_akap": poetry.WersAkap, "zastepnik_wersu": poetry.ZastepnikWersu, "wers_do_prawej": poetry.WersDoPrawej, + "wers_srodek": poetry.WersSrodek, "pa": footnotes.PA, "pe": footnotes.PE, @@ -117,6 +121,8 @@ WL_ELEMENTS = { "ilustr": figures.Ilustr, "numeracja": tools.Numeracja, + "rownolegle": tools.Rownolegle, + "tab": tools.Tab, # Section "wywiad_pyt": blocks.WywiadPyt,