Counting belongs in document.
[librarian.git] / src / librarian / elements / separators / separator_linia.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 SeparatorLinia(WLElement):
8     TXT_TOP_MARGIN = 4
9     TXT_BOTTOM_MARGIN = 4
10
11     EPUB_TAG = HTML_TAG = "hr"
12     EPUB_CLASS = HTML_CLASS = "spacer-line"
13     
14     def _txt_build_inner(self, builder):
15         builder.push_text('-' * 48)
16
17