3309: HtmlDoc module ignores title-style of reports (contribution by lcc)

svn: r13399
This commit is contained in:
Jérôme Rapinat 2009-10-24 07:17:04 +00:00
parent 7bf4760409
commit d1fbb2bff9

View File

@ -399,7 +399,7 @@ class HtmlDoc(BaseDoc, TextDoc):
style_name.upper().find('TITLE') != -1:
self.__title_written = 0
self.htmllist += (Html('div', id="header"),)
self.htmllist += (Html('h1', id='SiteTitle'),)
self.htmllist += (Html('h1', class_=style_name, id='SiteTitle'),)
else:
self.htmllist += (Html('h1', class_=style_name),)
elif 2<= level <= 5: