Skip to content

Commit

Permalink
I need spaces in Notes. Code from Nigel:
Browse files Browse the repository at this point in the history
pjcj#21

Addressing this Issue in ged2site:

nigelhorne/ged2site#121
  • Loading branch information
jhannah committed Jun 17, 2024
1 parent 2fd2f91 commit b74f936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Gedcom/Item.pm
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,8 @@ sub full_value {
my $v = defined $item->{value} ? $item->{value} : "";
$v =~ s/[\r\n]+$//;
$value .= "\n$v" if $item->{tag} eq "CONT";
$value .= $v if $item->{tag} eq "CONC";
$value .= ' ' if(($item->{tag} eq 'CONC') && ($value !~ /\s$/));
$value .= $v if $item->{tag} eq "CONC";
}
$value
}
Expand Down

0 comments on commit b74f936

Please sign in to comment.