Serg-Norseman / GEDKeeper

GEDKeeper - program for work with personal genealogical database
https://gedkeeper.net/
GNU General Public License v3.0
149 stars 44 forks source link

Leading spaces in CONT lines #551

Closed cbettinger closed 1 month ago

cbettinger commented 2 months ago

The GEDCOM specification (https://gedcom.io/specifications/ged551.pdf, page 86) says:

Leading spaces could be important to the formatting of the resultant text. When importing values from CONT lines the reader should assume only one delimiter character following the CONT tag. Assume that the rest of the leading spaces are to be a part of the value.

GEDKeeper seems to eliminate leading spaces:

@N1@ NOTE
1 CONT 20. Mars 89
1 CONT Nicolas
1 CONT
1 CONT Le 20. 1689 a esté baptisé Nicolas fils de
1 CONT                  (de belrain en lorraine [allemande?])
1 CONT Nicolas Bettain et de Cathirinne Martin de [la?]
1 CONT    (St Avaux)
...

will be stored as

@N1@ NOTE
1 CONT 20. Mars 89
1 CONT Nicolas
1 CONT
1 CONT Le 20. 1689 a esté baptisé Nicolas fils de
1 CONT (de belrain en lorraine [allemande?])
1 CONT Nicolas Bettain et de Cathirinne Martin de [la?]
1 CONT (St Avaux)
...