Skip to content

CONT error #1

@JimMillerKU

Description

@JimMillerKU

I was processing a GEDCOM file with several sequences that looked like:

0 @75265244@ NOTE
1 CONT Church Committee to build Augustana Church

The resulting note as parsed was: "undefined Church Committee to build Augustana Church"

This problem was easily fixed by modifying the section of code handling CONT lines with:
if (match[3] == "CONT") {
if (context[level-1].str === undefined)
context[level-1].str = match[5];
else
context[level-1].str += "\n" + match[5];
continue;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions