diff --git a/ChangeLog b/ChangeLog index 137c8746f..7d9ee5849 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2003-06-27 Tim Waugh + * src/plugins/WebPage.py: Make source links work. * src/EditPerson.py: Place keys are unicode. * src/plugins/Ancestors.py: Include source reference notes. Made source citation optional. Adjusted styles. diff --git a/src/plugins/WebPage.py b/src/plugins/WebPage.py index 1276bb84d..8b162ff26 100644 --- a/src/plugins/WebPage.py +++ b/src/plugins/WebPage.py @@ -82,6 +82,9 @@ class HtmlLinkDoc(HtmlDoc.HtmlDoc): """ Version of the HtmlDoc class the provides the ability to create a link """ + def write_linktarget(self,path): + self.f.write('' % path) + def start_link(self,path): self.f.write('' % path) @@ -208,9 +211,8 @@ class IndividualPage: index = 1 for sref in self.slist: self.doc.start_paragraph("SourceParagraph") - self.doc.start_link("s%d" % index) + self.doc.write_linktarget("s%d" % index) self.doc.write_text('%d. ' % index) - self.doc.end_link() index = index + 1 self.write_info(sref.getBase().getTitle()) self.write_info(sref.getBase().getAuthor())