fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Missing toc items.
[librarian.git]
/
src
/
librarian
/
elements
/
poetry
/
wers.py
1
from ..base import WLElement
2
3
4
class Wers(WLElement):
5
STRIP = True
6
7
TXT_TOP_MARGIN = 1
8
TXT_BOTTOM_MARGIN = 1
9
TXT_LEGACY_TOP_MARGIN = 1
10
TXT_LEGACY_BOTTOM_MARGIN = 0
11
12
HTML_TAG = 'div'
13
HTML_CLASS = 'verse'
14
15
@property
16
def meta(self):
17
if hasattr(self, 'stanza'):
18
return self.stanza.meta
19
return super(Wers, self).meta