fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Minor EPUB/MOBI fixes.
[librarian.git]
/
src
/
librarian
/
elements
/
headers
/
podtytul_czesc.py
1
from ..base import WLElement
2
3
4
class PodtytulCzesc(WLElement):
5
TXT_TOP_MARGIN = 2
6
TXT_BOTTOM_MARGIN = 2
7
8
HTML_TAG = "div"
9
HTML_CLASS = "subtitle2"
10
11
EPUB_TAG = "h2"
12
EPUB_CLASS = "h2"
13
14
def _epub_build_inner(self, builder):
15
builder.start_element('small', {})
16
super()._epub_build_inner(builder)
17
builder.end_element()