1.1 --- a/moinformat/serialisers/html/graphviz.py Mon Aug 06 00:12:38 2018 +0200
1.2 +++ b/moinformat/serialisers/html/graphviz.py Mon Aug 06 00:31:33 2018 +0200
1.3 @@ -99,7 +99,7 @@
1.4
1.5 # Get an identifier and usable filename to store the output.
1.6
1.7 - identifier = get_output_identifier(text)
1.8 + identifier = "%s.%s" % (get_output_identifier(text), format)
1.9 filename = self.output.get_filename(identifier)
1.10
1.11 # Handle situations where no independent output is permitted.
1.12 @@ -135,12 +135,12 @@
1.13 self.raw(graphviz.get_output())
1.14 attributes["usemap"] = "#%s" % im_attributes["id"]
1.15
1.16 - self.image(filename, attributes)
1.17 + self.image(identifier, attributes)
1.18
1.19 # For other output, create a file and embed the object.
1.20
1.21 else:
1.22 - self.object(filename, attributes)
1.23 + self.object(identifier, attributes)
1.24
1.25 serialiser = HTMLGraphvizSerialiser
1.26