1.1 --- a/moinformat/serialisers/html/graphviz.py Tue Aug 07 17:06:26 2018 +0200
1.2 +++ b/moinformat/serialisers/html/graphviz.py Tue Aug 07 17:51:55 2018 +0200
1.3 @@ -73,7 +73,7 @@
1.4 l = ["%s='%s'" % (attrname, escape_attr(target))]
1.5 for key, value in attributes.items():
1.6 l.append("%s='%s'" % (key, value))
1.7 - self.out("<%s %s%s>" % (tagname, " ".join(l), closing and " /"))
1.8 + self.out("<%s %s%s>" % (tagname, " ".join(l), closing and " /" or ""))
1.9
1.10 def image(self, target, attributes):
1.11 self._tag("img", "src", target, attributes, True)