fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New version with the new EPUB converter.
[librarian.git]
/
src
/
librarian
/
elements
/
poetry
/
wers_wciety.py
diff --git
a/src/librarian/elements/poetry/wers_wciety.py
b/src/librarian/elements/poetry/wers_wciety.py
index
8ac2bb3
..
662e57a
100644
(file)
--- a/
src/librarian/elements/poetry/wers_wciety.py
+++ b/
src/librarian/elements/poetry/wers_wciety.py
@@
-18,3
+18,8
@@
class WersWciety(Wers):
attr = super(WersWciety, self).get_html_attr(builder)
attr['style'] = "padding-left: {}em".format(self.typ)
return attr
attr = super(WersWciety, self).get_html_attr(builder)
attr['style'] = "padding-left: {}em".format(self.typ)
return attr
+
+ def get_epub_attr(self, builder):
+ attr = super(WersWciety, self).get_html_attr(builder)
+ attr['style'] = "margin-left: {}em".format(self.typ)
+ return attr