bit longer author field
[librarian.git] / src / librarian / elements / separators / sekcja_asterysk.py
1 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
3 #
4 from ..base import WLElement
5
6
7 class SekcjaAsterysk(WLElement):
8     TXT_TOP_MARGIN = 2
9     TXT_BOTTOM_MARGIN = 4
10     TXT_LEGACY_TOP_MARGIN = 2
11     TXT_LEGACY_BOTTOM_MARGIN = 2
12
13     EPUB_TAG = HTML_TAG = "p"
14     HTML_CLASS = HTML_CLASS = "spacer-asterisk"
15
16     def _txt_build_inner(self, builder):
17         builder.push_text('*')
18
19     def _html_build_inner(self, builder):
20         builder.push_text("*")
21
22     _epub_build_inner = _html_build_inner
23