fnp
/
librarian.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fixed MathML in EPUB.
[librarian.git]
/
src
/
librarian
/
elements
/
figures
/
ilustr.py
1
from ..base import WLElement
2
3
4
class Ilustr(WLElement):
5
HTML_TAG = 'img'
6
7
def get_html_attr(self, builder):
8
return {
9
'src': builder.image_location + self.attrib['src'],
10
'alt': self.attrib['alt'],
11
'title': self.attrib['alt'],
12
}