Move HTML from the old transform sheet.
[librarian.git] / src / librarian / elements / headers / naglowek_rozdzial.py
index 7492da4..502dea1 100644 (file)
@@ -1,9 +1,12 @@
+# 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 NaglowekRozdzial(WLElement):
+    NUMBERING = 's'
     SECTION_PRECEDENCE = 2
-    SHOULD_HAVE_ID = True
     
     TXT_TOP_MARGIN = 4
     TXT_BOTTOM_MARGIN = 2
@@ -11,6 +14,7 @@ class NaglowekRozdzial(WLElement):
     TXT_LEGACY_BOTTOM_MARGIN = 0
 
     HTML_TAG = 'h3'
+    HTML_CLASS = 'wl'
 
     EPUB_TAG = 'h2'
     EPUB_CLASS = 'h3'