fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more meta
[librarian.git]
/
src
/
librarian
/
elements
/
figures
/
tabela.py
1
from ..base import WLElement
2
3
4
class Tabela(WLElement):
5
EPUB_TAG = HTML_TAG = 'table'
6
7
def get_html_attr(self, builder):
8
if self.attrib.get('ramka', '') == '1':
9
return {
10
'class': 'border'
11
}
12
return {}
13
14
get_epub_attr = get_html_attr
15
16