8930: allow hyphenated gramps-id in Graphviz reports
This commit is contained in:
parent
dec1130c81
commit
2e6e13e166
@ -525,7 +525,7 @@ class GVDocBase(BaseDoc, GVDoc):
|
||||
text += ' URL="%s"' % url
|
||||
|
||||
text += " ]"
|
||||
self.write(' %s %s;\n' % (node_id, text))
|
||||
self.write(' "%s" %s;\n' % (node_id, text))
|
||||
|
||||
def add_link(self, id1, id2, style="", head="", tail="", comment=""):
|
||||
"""
|
||||
@ -533,7 +533,7 @@ class GVDocBase(BaseDoc, GVDoc):
|
||||
|
||||
Implements GVDocBase.add_link().
|
||||
"""
|
||||
self.write(' %s -> %s' % (id1, id2))
|
||||
self.write(' "%s" -> "%s"' % (id1, id2))
|
||||
|
||||
if style or head or tail:
|
||||
self.write(' [')
|
||||
|
Loading…
Reference in New Issue
Block a user