Drop lots of legacy code. Support Python 3.7-3.11.
[librarian.git] / src / librarian / elements / front / nazwa_utworu.py
index 55ef78b..376b932 100644 (file)
@@ -1,3 +1,6 @@
+# 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 HeaderElement
 
 
@@ -5,5 +8,7 @@ class NazwaUtworu(HeaderElement):
     TXT_BOTTOM_MARGIN = 1
     TXT_LEGACY_BOTTOM_MARGIN = 1
 
-    HTML_TAG = 'span'
     HTML_CLASS = 'title'
+
+    EPUB_TAG = 'h2'
+    EPUB_CLASS = 'intitle'