8766: GraphViz does not seem to like double-quotes in Given names

This commit is contained in:
Josip 2015-07-31 00:41:35 +02:00
parent 36404caad8
commit f7280f13d7

View File

@ -205,6 +205,8 @@ class HourGlassReport(Report):
elif self.includeid == 2: # own line
label = "%s \\n(%s - %s)\\n(%s)" % (name, birth, death, p_id)
label = label.replace('"', '\\\"')
(shape, style, color, fill) = self.get_gender_style(person)
self.doc.add_node(p_id, label, shape, color, style, fill)