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: