From 3de66d1b62f88a5d85d05f57a0741d86983f12e1 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Sun, 3 Jan 2010 11:31:19 +0000 Subject: [PATCH] Fix of issue 3495. svn: r13965 --- src/plugins/export/ExportGedcom.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plugins/export/ExportGedcom.py b/src/plugins/export/ExportGedcom.py index 67f8b2ab4..305716b65 100644 --- a/src/plugins/export/ExportGedcom.py +++ b/src/plugins/export/ExportGedcom.py @@ -1286,7 +1286,11 @@ class GedcomWriter(BasicUtils.UpdateCallback): # Reference to the source self.__writeln(level, "SOUR", "@%s@" % src.get_gramps_id()) if ref.get_page() != "": - self.__writeln(level+1, 'PAGE', ref.get_page()) + # PAGE can not have CONC lines. + # WHERE_WITHIN_SOURCE:= {Size=1:248} + # Maximize line to 248 and set limit to 248, for no line split + self.__writeln(level+1, 'PAGE', ref.get_page()[0:248], limit=248) + conf = min(ref.get_confidence_level(), gen.lib.SourceRef.CONF_VERY_HIGH) if conf != gen.lib.SourceRef.CONF_NORMAL and conf != -1: