fixes for edge cases
[librarian.git] / src / librarian / elements / drama / didaskalia.py
index cdd7900..11ae486 100644 (file)
@@ -2,6 +2,8 @@ from ..base import WLElement
 
 
 class Didaskalia(WLElement):
 
 
 class Didaskalia(WLElement):
+    SHOULD_HAVE_ID = True
+
     TXT_TOP_PARGIN = 2
     TXT_BOTTOM_MARGIN = 2
     TXT_LEGACY_TOP_MARGIN = 2
     TXT_TOP_PARGIN = 2
     TXT_BOTTOM_MARGIN = 2
     TXT_LEGACY_TOP_MARGIN = 2
@@ -9,3 +11,5 @@ class Didaskalia(WLElement):
     TXT_PREFIX = "/ "
     TXT_SUFFIX = " /"
 
     TXT_PREFIX = "/ "
     TXT_SUFFIX = " /"
 
+    EPUB_TAG =_HTML_TAG = "div"
+    EPUB_CLASS = HTML_CLASS = "didaskalia"