e68430d2a407170577bb9aa1826f8c3b65cd5109
[librarian.git] / src / librarian / elements / separators / sekcja_asterysk.py
1 from ..base import WLElement
2
3
4 class SekcjaAsterysk(WLElement):
5     TXT_TOP_MARGIN = 2
6     TXT_BOTTOM_MARGIN = 4
7     TXT_LEGACY_TOP_MARGIN = 2
8     TXT_LEGACY_BOTTOM_MARGIN = 2
9
10     HTML_TAG = "p"
11     HTML_CLASS = "spacer-asterisk"
12
13     def _txt_build_inner(self, builder):
14         builder.push_text('*')
15
16     def _html_build_inner(self, builder):
17         builder.push_text("*")
18