diff --git a/src/plugins/export/ExportGedcom.py b/src/plugins/export/ExportGedcom.py index e3fb77109..f2f23d3a5 100644 --- a/src/plugins/export/ExportGedcom.py +++ b/src/plugins/export/ExportGedcom.py @@ -270,6 +270,8 @@ class GedcomWriter(UpdateCallback): assert(token) if textlines: # break the line into multiple lines if a newline is found + textlines = textlines.replace('\n\r', '\n') + textlines = textlines.replace('\r', '\n') textlist = textlines.split('\n') token_level = level for text in textlist: