By BobWebster - Monday, February 22, 2010
|
I frequently use a blank line to separate paragraphs in Notes for an individual. When this is exported through the gedcom report, the notes are combined and the blank line is lost. I fixed this in the gedcom.js file by adding the second line below (about line 771):
if (! fLongLine || sOldLines[i].length > 0 ) { if ((sNextTag != sTag) && (sOldLines[i].length == 0)) sNextTag = 'CONT'; // new line sNewLines += nNextLevel + ' ' + sNextTag + ' ' + sOldLines[i] + Report.TagBr; }
|
By genome - Tuesday, February 23, 2010
|
Hi Bob, I have now plugged in a fix for this, implemented differently to your solution, but I think the result is the same. See Latest Export to Gedcom skin. There was a misplaced } causing this problem only after lines exceeding the maximum line length are split into NOTE/Conc or CONT/CONC tags.
|
By BobWebster - Tuesday, February 23, 2010
|
Thanks! Your fix is much better.
|
|