Remove legacy code for txt.
[librarian.git] / src / librarian / elements / drama / didaskalia.py
index cdd7900..b6b53f9 100644 (file)
@@ -1,11 +1,16 @@
+# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
 from ..base import WLElement
 
 
 class Didaskalia(WLElement):
 from ..base import WLElement
 
 
 class Didaskalia(WLElement):
+    NUMBERING = 'i'
+
     TXT_TOP_PARGIN = 2
     TXT_BOTTOM_MARGIN = 2
     TXT_TOP_PARGIN = 2
     TXT_BOTTOM_MARGIN = 2
-    TXT_LEGACY_TOP_MARGIN = 2
-    TXT_LEGACY_BOTTOM_MARGIN = 0
     TXT_PREFIX = "/ "
     TXT_SUFFIX = " /"
 
     TXT_PREFIX = "/ "
     TXT_SUFFIX = " /"
 
+    EPUB_TAG = HTML_TAG = "div"
+    EPUB_CLASS = HTML_CLASS = "didaskalia"