Fix title error HtmlDoc.py.

svn: r8527
This commit is contained in:
Brian Matherly 2007-06-02 04:10:37 +00:00
parent fafacb096f
commit 9cd009102e
2 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,6 @@
2007-05-18 Brian Matherly <brian@gramps-project.org>
* src/docgen/HtmlDoc.py: fix title error.
2007-05-24 Don Allingham <don@gramps-project.org>
* src/Simple/Makefile.am: added
* src/DataViews/_PedigreeView.py: catch loop in relationships,

View File

@ -251,11 +251,7 @@ class HtmlDoc(BaseDoc.BaseDoc,BaseDoc.TextDoc):
match = t_header_line_re.match(msg)
if match:
m = match.groups()
if self.title:
msg = self.title
else:
msg = m[1]
self.file_header = '%s<TITLE>%s</TITLE>%s\n' % (m[0],msg,m[2])
self.file_header = '%s<TITLE>%s</TITLE>%s\n' % (m[0],m[1],m[2])
else:
self.file_header = self.top
self.file_header = self.process_line(self.file_header)