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