8766: GraphViz does not seem to like double-quotes in Given names
This commit is contained in:
parent
1b91f53622
commit
7b5c692787
@ -204,6 +204,8 @@ class HourGlassReport(Report):
|
||||
label = "%s (%s)\\n(%s - %s)" % (name, p_id, birth, death)
|
||||
elif self.includeid == 2: # own line
|
||||
label = "%s \\n(%s - %s)\\n(%s)" % (name, birth, death, p_id)
|
||||
# non html label is enclosed by "" so escape other "
|
||||
label = label.replace('"', '\\\"')
|
||||
|
||||
(shape, style, color, fill) = self.get_gender_style(person)
|
||||
self.doc.add_node(p_id, label, shape, color, style, fill)
|
||||
|
Loading…
Reference in New Issue
Block a user