From b595198dd2892974bff2edb0d8e9d3bff8ac2867 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 7 Jun 2013 15:02:01 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/docx/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/docx/images.py b/src/calibre/ebooks/docx/images.py index 52e16c436e..e16bedb160 100644 --- a/src/calibre/ebooks/docx/images.py +++ b/src/calibre/ebooks/docx/images.py @@ -168,7 +168,7 @@ class Images(object): img = IMG(src='images/%s' % src, style="display:block") alt = get(imagedata, 'o:title') if alt: - img(alt=alt) + img.set('alt', alt) yield img def get_float_properties(self, anchor, style, page):