Commits

Georg Brandl committed cc39287

Fix #659: use object start/end tag.

Comments (0)

Files changed (1)

sphinx/ext/graphviz.py

     # The object tag works fine on Firefox and WebKit
     # Besides it's a hack, this strategy does not mess with templates.
     imgcss = imgcls and ' class="%s"' % imgcls or ''
-    return '<object type="image/svg+xml" data="%s"%s%s/>\n' % \
+    return '<object type="image/svg+xml" data="%s"%s%s></object>\n' % \
            (svgref, imgcss, style)