Commits

Leandro Lucarella committed 7e47cf0

aafig: Add missing format operator when rendering to SVG

Comments (0)

Files changed (1)

aafig/sphinxcontrib/aafig.py

         imgcss = imgcls and 'class="%s"' % imgcls or ''
         if options['format'].lower() == 'svg':
             self.body.append('<object type="image/svg+xml" data="%s" %s %s />'
-                    (fname, extra, imgcss))
+                    % (fname, extra, imgcss))
         else:
             self.body.append('<img src="%s" alt="%s" %s/>\n' %
                     (fname, self.encode(text).strip(), imgcss))