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 = {
"coverBarColor": etree.ElementBase,
"coverBoxPosition": etree.ElementBase,
"coverLogoUrl": etree.ElementBase,
-
+ "contentWarning": etree.ElementBase,
+ "endnotes": etree.ElementBase,
+
"utwor": root.Utwor,
"dramat_wierszowany_l": masters.Master,
"dramat_wierszowany_lp": masters.Master,
"pr": footnotes.PR,
"pt": footnotes.PT,
+ "ref": ref.Ref,
+
"begin": themes.Begin,
"end": themes.End,
"motyw": themes.Motyw,
"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,
"animacja": figures.Animacja,
"ilustr": figures.Ilustr,
+ # Section
+ "wywiad_pyt": blocks.WywiadPyt,
+ "wywiad_odp": blocks.WywiadOdp,
+
# Inline MathML, should really be namespaced.
"mrow": etree.ElementBase,
"mi": etree.ElementBase,