From e328d7473b59711c49651a260d0e85409be97ef4 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 6 Oct 2011 16:49:31 +0000 Subject: [PATCH] Fix of issue 5282, white spaces should be kept. svn: r18253 --- src/plugins/lib/libgedcom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/lib/libgedcom.py b/src/plugins/lib/libgedcom.py index f46d8f34e..0f828b92c 100644 --- a/src/plugins/lib/libgedcom.py +++ b/src/plugins/lib/libgedcom.py @@ -1178,7 +1178,7 @@ class BaseReader(object): line = unicode(self.ifile.readline(), encoding=self.enc, errors='replace') - return line.strip().translate(strip_dict) + return line.translate(strip_dict) class UTF8Reader(BaseReader): @@ -1196,7 +1196,7 @@ class UTF8Reader(BaseReader): line = unicode(self.ifile.readline(), encoding=self.enc, errors='replace') - return line.strip().translate(strip_dict) + return line.translate(strip_dict) class UTF16Reader(BaseReader):