php-gedcom icon indicating copy to clipboard operation
php-gedcom copied to clipboard

Problem with CONT and CONC in multiline records

Open mikew0143 opened this issue 10 years ago • 0 comments

  1. Data is being lost from the start of a CONT field. The specification says that leading spaces etc should not be trimmed from the start of the content
  2. A space is being inserted between words that are split because of CONC. The specification says that values should only be split at a non-space in the gedcom file therefore the lines should only be connected by \n and/or \l

The code responsible for this appears to be parser.php.

Note: the Torture tests have NOTE structures that are not valid Gedcom . The lines being split at spaces.

mikew0143 avatar Aug 01 '15 22:08 mikew0143