fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure Pillow uses ImageFont.LAYOUT_BASIC because of https://github.com/python...
[librarian.git]
/
src
/
librarian
/
elements
/
poetry
/
wers.py
diff --git
a/src/librarian/elements/poetry/wers.py
b/src/librarian/elements/poetry/wers.py
index
e164b1d
..
5c28058
100644
(file)
--- a/
src/librarian/elements/poetry/wers.py
+++ b/
src/librarian/elements/poetry/wers.py
@@
-10,4
+10,10
@@
class Wers(WLElement):
TXT_LEGACY_BOTTOM_MARGIN = 0
HTML_TAG = 'div'
- HTML_ATTRIB = {"class": "verse"}
+ HTML_CLASS = 'verse'
+
+ @property
+ def meta(self):
+ if hasattr(self, 'stanza'):
+ return self.stanza.meta
+ return super(Wers, self).meta