diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py index b54cb3c09..6b875081f 100644 --- a/sphinx/ext/graphviz.py +++ b/sphinx/ext/graphviz.py @@ -214,7 +214,7 @@ def get_svg_tag(svgref, svgfile, imgcls=None): # 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 '\n' % \ + return '\n' % \ (svgref, imgcss, style)