fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some prelim work on builder api.
[librarian.git]
/
src
/
librarian
/
elements
/
poetry
/
wers_cd.py
diff --git
a/src/librarian/elements/poetry/wers_cd.py
b/src/librarian/elements/poetry/wers_cd.py
index
a61d5bc
..
28d779f
100644
(file)
--- a/
src/librarian/elements/poetry/wers_cd.py
+++ b/
src/librarian/elements/poetry/wers_cd.py
@@
-1,10
+1,15
@@
+# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
from .wers import Wers
class WersCd(Wers):
from .wers import Wers
class WersCd(Wers):
- def _txt_build_inner(self, builder):
+ HTML_CLASS = Wers.HTML_CLASS + ' verse-cont'
+
+ def txt_build_inner(self, builder):
builder.push_text(' ' * 24, prepared=True)
builder.push_text(' ' * 24, prepared=True)
- super(
WersCd, self)._
txt_build_inner(builder)
+ super(
).
txt_build_inner(builder)
-
HTML
_ATTR = {
- "style": "
padding
-left: 12em",
+
EPUB
_ATTR = {
+ "style": "
margin
-left: 12em",
}
}