diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 2abbc5a60..1e2c317bd 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -6,6 +6,9 @@ * src/docgen/HtmlDoc.py (start_bold, end_bold): Add functions (closes bug #841277). + + * src/plugins/WebPage.py (IndividualPage.write_normal_row): Add separators + between the references (comma and space). 2003-11-12 Don Allingham * src/FamilyView.py: Change column sizes on the FamilyView to diff --git a/gramps2/src/plugins/WebPage.py b/gramps2/src/plugins/WebPage.py index f7807bd89..54a7e1e2e 100644 --- a/gramps2/src/plugins/WebPage.py +++ b/gramps2/src/plugins/WebPage.py @@ -18,6 +18,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# $Id$ + "Web Site/Generate Web Site" #------------------------------------------------------------------------ @@ -113,7 +115,7 @@ class IndividualPage: self.doc = doc self.use_id = id self.id_link = idlink - self.list = map + self.list = map self.private = private self.alive = person.probablyAlive() and restrict self.photos = (photos == 2) or (photos == 1 and not self.alive) @@ -146,12 +148,17 @@ class IndividualPage: self.doc.start_paragraph("Data") self.doc.write_text(data) if sreflist: + first = 1 for sref in sreflist: - self.doc.start_link("#s%d" % self.scnt) self.doc.write_raw('') + if first: + first = 0 + else: + self.doc.write_text(', ') + self.doc.start_link("#s%d" % self.scnt) self.doc.write_text('%d' % self.scnt) - self.doc.write_raw('') self.doc.end_link() + self.doc.write_raw('') self.scnt = self.scnt + 1 self.slist.append(sref) self.doc.end_paragraph()