* src/plugins/WriteGedcom.py: handle surnames containing a slash

svn: r1813
This commit is contained in:
Don Allingham 2003-07-03 04:05:19 +00:00
parent 18853036c1
commit a33f0e716d

View File

@ -1033,6 +1033,7 @@ class GedcomWriter:
firstName = self.cnvtxt(name.getFirstName()) firstName = self.cnvtxt(name.getFirstName())
surName = self.cnvtxt(name.getSurname()) surName = self.cnvtxt(name.getSurname())
surPref = self.cnvtxt(name.getSurnamePrefix()) surPref = self.cnvtxt(name.getSurnamePrefix())
surName = surPref.replace('/','?')
suffix = self.cnvtxt(name.getSuffix()) suffix = self.cnvtxt(name.getSuffix())
title = self.cnvtxt(name.getTitle()) title = self.cnvtxt(name.getTitle())
if suffix == "": if suffix == "":