diff --git a/src/docgen/HtmlDoc.py b/src/docgen/HtmlDoc.py
index 28cec7f27..6e061b2e7 100644
--- a/src/docgen/HtmlDoc.py
+++ b/src/docgen/HtmlDoc.py
@@ -311,6 +311,7 @@ class HtmlDoc(TextDoc.TextDoc):
for line in self.bottom:
self.f.write(self.process_line(line))
self.f.close()
+ self.write_support_files()
def write_support_files(self):
if self.map:
diff --git a/src/plugins/WebPage.py b/src/plugins/WebPage.py
index 5501136fb..501a46425 100644
--- a/src/plugins/WebPage.py
+++ b/src/plugins/WebPage.py
@@ -74,7 +74,7 @@ def by_date(a,b):
#------------------------------------------------------------------------
#
-# HtmlLickDoc
+# HtmlLinkDoc
#
#------------------------------------------------------------------------
class HtmlLinkDoc(HtmlDoc.HtmlDoc):
@@ -738,7 +738,6 @@ class WebReport(Report.Report):
col_len = col_len - 1
doc.write_raw('')
doc.close()
- doc.write_support_files()
def write_report(self):
dir_name = self.target_path