mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
82b06b765a
commit
bd248e1a58
@ -132,7 +132,7 @@ class Images(object):
|
|||||||
src = self.generate_filename(rid, name)
|
src = self.generate_filename(rid, name)
|
||||||
img = IMG(src='images/%s' % src)
|
img = IMG(src='images/%s' % src)
|
||||||
if alt:
|
if alt:
|
||||||
img(alt=alt)
|
img.set('alt', alt)
|
||||||
return img
|
return img
|
||||||
|
|
||||||
def drawing_to_html(self, drawing, page):
|
def drawing_to_html(self, drawing, page):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user