New EPUB builder, other minor changes.
[librarian.git] / src / librarian / elements / separators / sekcja_swiatlo.py
index 1526548..28ba6e5 100644 (file)
@@ -5,3 +5,11 @@ class SekcjaSwiatlo(WLElement):
     TXT_BOTTOM_MARGIN = 6
     TXT_LEGACY_BOTTOM_MARGIN = 4
 
+    HTML_TAG = "hr"
+    HTML_CLASS = "spacer"
+
+    EPUB_TAG = 'p'
+    EPUB_CLASS = 'spacer'
+
+    def _epub_build_inner(self, builder):
+        builder.push_text("\u00a0")