Fix title error HtmlDoc.py.
svn: r8527
This commit is contained in:
parent
fafacb096f
commit
9cd009102e
@ -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,
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user