4427: GEDCOM export: non-standard end of line characters not output properly
svn: r16239
This commit is contained in:
parent
bb83e894ea
commit
88bf95cf57
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user