7398: Gedcom import deletes first char of notes
This commit is contained in:
parent
02b8ec013f
commit
12e7019af9
@ -757,9 +757,9 @@ class Lexer(object):
|
||||
line = line.split('@', 2)
|
||||
# line is now [None, alphanum+pointer_string, rest]
|
||||
tag = '@' + line[1] + '@'
|
||||
line_value = line[2]
|
||||
line_value = line[2].lstrip()
|
||||
## Ignore meaningless @IDENT@ on CONT or CONC line
|
||||
## as detailed at http://www.tamurajones.net/IdentCONT.xhtml
|
||||
## as noted at http://www.tamurajones.net/IdentCONT.xhtml
|
||||
if (line_value.lstrip().startswith("CONT ") or
|
||||
line_value.lstrip().startswith("CONC ")):
|
||||
line = line_value.lstrip().partition(' ')
|
||||
|
Loading…
Reference in New Issue
Block a user