Add some missing elements.
[librarian.git] / src / librarian / elements / __init__.py
index c3a55fb..65c82d8 100644 (file)
@@ -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 = {
@@ -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,
@@ -70,6 +71,8 @@ WL_ELEMENTS = {
     "pr": footnotes.PR,
     "pt": footnotes.PT,
 
+    "ref": ref.Ref,
+
     "begin": themes.Begin,
     "end": themes.End,
     "motyw": themes.Motyw,
@@ -111,6 +114,11 @@ 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,
     "mi": etree.ElementBase,