diff --git a/src/calibre/ebooks/fb2/fb2ml.py b/src/calibre/ebooks/fb2/fb2ml.py
index 91d05f0140..9d88d5554f 100644
--- a/src/calibre/ebooks/fb2/fb2ml.py
+++ b/src/calibre/ebooks/fb2/fb2ml.py
@@ -196,7 +196,7 @@ class FB2MLizer(object):
metadata['comments'] = '{}'.format(prepare_string_for_xml(html2text(comments.value.strip())))
return textwrap.dedent('''
-
+
%(genre)s
@@ -255,7 +255,7 @@ class FB2MLizer(object):
# Only write the image tag if it is in the manifest.
if cover_href in self.oeb_book.manifest.hrefs and cover_href not in self.image_hrefs:
self.image_hrefs[cover_href] = 'img_%s' % len(self.image_hrefs)
- return '' % self.image_hrefs[cover_href]
+ return '' % self.image_hrefs[cover_href]
return ''
@@ -466,7 +466,7 @@ class FB2MLizer(object):
p_txt, p_tag = self.ensure_p()
fb2_out += p_txt
tags += p_tag
- fb2_out.append('' % self.image_hrefs[ihref])
+ fb2_out.append('' % self.image_hrefs[ihref])
else:
self.log.warn(u'Ignoring image not in manifest: %s'%ihref)
if tag in ('br', 'hr') or ems >= 1: