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