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.py
diff --git
a/src/librarian/elements/poetry/wers.py
b/src/librarian/elements/poetry/wers.py
index
cf2089c
..
f0f274c
100644
(file)
--- a/
src/librarian/elements/poetry/wers.py
+++ b/
src/librarian/elements/poetry/wers.py
@@
-22,8
+22,8
@@
class Wers(WLElement):
return self.stanza.meta
return super(Wers, self).meta
return self.stanza.meta
return super(Wers, self).meta
- def
_
epub_build_inner(self, builder):
- super().
_
epub_build_inner(builder)
+ def epub_build_inner(self, builder):
+ super().epub_build_inner(builder)
builder.push_text('''\u00a0''')
@property
builder.push_text('''\u00a0''')
@property
@@
-44,9
+44,9
@@
class Wers(WLElement):
attr['class'] += ' verse-stretched'
return attr
attr['class'] += ' verse-stretched'
return attr
- def
_
html_build_inner(self, builder):
+ def html_build_inner(self, builder):
if self.is_stretched:
builder.start_element('span')
if self.is_stretched:
builder.start_element('span')
- super().
_
html_build_inner(builder)
+ super().html_build_inner(builder)
if self.is_stretched:
builder.end_element()
if self.is_stretched:
builder.end_element()