fixes for edge cases
[librarian.git] / src / librarian / elements / drama / naglowek_osoba.py
1 from ..base import WLElement
2
3
4 class NaglowekOsoba(WLElement):
5     SHOULD_HAVE_ID = True
6
7     TXT_TOP_MARGIN = 3
8     TXT_BOTTOM_MARGIN = 2
9     TXT_LEGACY_TOP_MARGIN = 3
10     TXT_LEGACY_BOTTOM_MARGIN = 0
11
12     HTML_TAG = "h4"
13
14     EPUB_TAG = "h2"
15     EPUB_CLASS = "h4"