#2454 Johan Vromans <jvromans AT squirrel DOT nl>, HtmlDoc crashes when template

does not have <TITLE> elements


svn: r11189
This commit is contained in:
Benny Malengier 2008-10-23 13:29:51 +00:00
parent 95597ba134
commit 4fdec00c90

View File

@ -253,7 +253,7 @@ class HtmlDoc(BaseDoc.BaseDoc,BaseDoc.TextDoc):
m = match.groups()
self.file_header = '%s<TITLE>%s</TITLE>%s\n' % (m[0],m[1],m[2])
else:
self.file_header = self.top
self.file_header = "".join(self.top)
self.file_header = self.process_line(self.file_header)
def build_style_declaration(self):