7256: extra spaces in HTML GV labels

This commit is contained in:
Vassilii Khachaturov 2013-11-28 23:12:46 +02:00
parent 21e33de953
commit 64cd25b8e1
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -433,7 +433,7 @@ class RelGraphReport(Report):
if self.includedates:
birth, death = self.get_date_strings(person)
if birth or death:
label += ' %s(' % lineDelimiter
label += '%s(' % lineDelimiter
if birth:
label += '%s' % birth
label += ' - '