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

does not have <TITLE> elements 


svn: r11188
This commit is contained in:
Benny Malengier 2008-10-23 13:27:51 +00:00
parent f46c5fdbc2
commit 71deca1ed2

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):