From 657e4dc7846dbb8a35d0eaaf18e059bbb9521d90 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Sun, 23 May 2010 04:51:59 +0000 Subject: [PATCH] Bug#4006: Fixed WebCal text being doubled up. Thank you Doug S. Blank for the patch. svn: r15452 --- src/plugins/webreport/WebCal.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/plugins/webreport/WebCal.py b/src/plugins/webreport/WebCal.py index 458029932..6d7bd5b62 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -1147,9 +1147,9 @@ class WebCalReport(Report): # add link to NarrativeWeb if self.link_to_narweb: - text = Html("a", short_name, + text = str(Html("a", short_name, href = self.build_url_fname_html(person.handle, "ppl", - prefix = self.narweb_prefix)) + prefix = self.narweb_prefix))) else: text = short_name self.add_day_item(text, year, month, day, 'Birthday') @@ -1183,12 +1183,12 @@ class WebCalReport(Report): prob_alive_date = gen.lib.Date(this_year, month, day) if self.link_to_narweb: - spouse_name = Html("a", spouse_name, + spouse_name = str(Html("a", spouse_name, href = self.build_url_fname_html(spouse_handle, 'ppl', - prefix = self.narweb_prefix)) - short_name = Html("a", short_name, + prefix = self.narweb_prefix))) + short_name = str(Html("a", short_name, href = self.build_url_fname_html(person.handle, 'ppl', - prefix = self.narweb_prefix)) + prefix = self.narweb_prefix))) alive1 = probably_alive(person, db, prob_alive_date) alive2 = probably_alive(spouse, db, prob_alive_date)