diff --git a/gramps/src/WriteXML.py b/gramps/src/WriteXML.py index ce6d78864..e90a7658d 100644 --- a/gramps/src/WriteXML.py +++ b/gramps/src/WriteXML.py @@ -443,24 +443,24 @@ def exportData(database, filename, callback): g.write(" \n") for place in placeList: g.write(' \n' % \ - (place.getId(),place.get_title())) + (place.getId(),fix(place.get_title()))) if place.get_longitude() != "" or place.get_latitude() != "": g.write(' \n' % \ - (place.get_longitude(),place.get_latitude())) + (fix(place.get_longitude()),fix(place.get_latitude()))) loc = place.get_main_location() - city = loc.get_city() - state = loc.get_state() - country = loc.get_country() - county = loc.get_county() + city = fix(loc.get_city()) + state = fix(loc.get_state()) + country = fix(loc.get_country()) + county = fix(loc.get_county()) if city or state or country or county: g.write(' \n' % country) for loc in place.get_alternate_locations(): - city = loc.get_city() - state = loc.get_state() - country = loc.get_country() - county = loc.get_county() + city = fix(loc.get_city()) + state = fix(loc.get_state()) + country = fix(loc.get_country()) + county = fix(loc.get_county()) if city or state or country or county: g.write(' \n' \