Family Lines Report generates empty PDFs when name [has double-quotes]

Fixes #10096
This commit is contained in:
Paul Franklin 2017-06-21 09:18:19 -07:00
parent 706d29a480
commit fc3e41d696

View File

@ -844,6 +844,9 @@ class FamilyLinesReport(Report):
# see if we have a table that needs to be terminated # see if we have a table that needs to be terminated
if imagePath: if imagePath:
label += '</TD></TR></TABLE>' label += '</TD></TR></TABLE>'
else:
# non html label is enclosed by "" so escape other "
label = label.replace('"', '\\\"')
shape = "box" shape = "box"
style = "solid" style = "solid"