7256: extra spaces in HTML GV labels

This commit is contained in:
Vassilii Khachaturov 2013-11-28 23:06:04 +02:00
parent efb318b433
commit bf6219e3a9

View File

@ -821,7 +821,7 @@ class FamilyLinesReport(Report):
label += name label += name
if birthStr or deathStr: if birthStr or deathStr:
label += ' %s(' % lineDelimiter label += '%s(' % lineDelimiter
if birthStr: if birthStr:
label += '%s' % birthStr label += '%s' % birthStr
label += ' - ' label += ' - '
@ -831,7 +831,7 @@ class FamilyLinesReport(Report):
if birthplace or deathplace: if birthplace or deathplace:
if birthplace == deathplace: if birthplace == deathplace:
deathplace = None # no need to print the same name twice deathplace = None # no need to print the same name twice
label += ' %s' % lineDelimiter label += '%s' % lineDelimiter
if birthplace: if birthplace:
label += '%s' % birthplace label += '%s' % birthplace
if birthplace and deathplace: if birthplace and deathplace: