This commit is contained in:
Kovid Goyal 2013-06-07 15:02:01 +05:30
parent cc3b349705
commit b595198dd2

View File

@ -168,7 +168,7 @@ class Images(object):
img = IMG(src='images/%s' % src, style="display:block") img = IMG(src='images/%s' % src, style="display:block")
alt = get(imagedata, 'o:title') alt = get(imagedata, 'o:title')
if alt: if alt:
img(alt=alt) img.set('alt', alt)
yield img yield img
def get_float_properties(self, anchor, style, page): def get_float_properties(self, anchor, style, page):