fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
rel
[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
HTML_TAG = "hr"
11
HTML_CLASS = "spacer-line"
12
13
def _txt_build_inner(self, builder):
14
builder.push_text('-' * 48)
15
16