49ea17f64930e789ec8cff415a1034cd437abbb1
[librarian.git] / src / librarian / elements / separators / separator_linia.py
1 from ..base import WLElement
2
3
4 class SeparatorLinia(WLElement):
5     TXT_TOP_MARGIN = 4
6     TXT_BOTTOM_MARGIN = 4
7     TXT_LEGACY_TOP_MARGIN = 2
8     TXT_LEGACY_BOTTOM_MARGIN = 2
9
10     EPUB_TAG = HTML_TAG = "hr"
11     EPUB_CLASS = HTML_CLASS = "spacer-line"
12     
13     def _txt_build_inner(self, builder):
14         builder.push_text('-' * 48)
15
16