fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New version with the new EPUB converter.
[librarian.git]
/
src
/
librarian
/
elements
/
figures
/
tabela.py
diff --git
a/src/librarian/elements/figures/tabela.py
b/src/librarian/elements/figures/tabela.py
index
af4a436
..
7da7877
100644
(file)
--- a/
src/librarian/elements/figures/tabela.py
+++ b/
src/librarian/elements/figures/tabela.py
@@
-2,7
+2,7
@@
from ..base import WLElement
class Tabela(WLElement):
- HTML_TAG = 'table'
+
EPUB_TAG =
HTML_TAG = 'table'
def get_html_attr(self, builder):
if self.attrib.get('ramka', '') == '1':
@@
-10,3
+10,7
@@
class Tabela(WLElement):
'class': 'border'
}
return {}
+
+ get_epub_attr = get_html_attr
+
+