From f459fc1ee49790c4c7a5bf779a3a96df13351ffb Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Mon, 26 Oct 2009 20:27:20 +0000 Subject: [PATCH] Fix for #3262. The extensions of .php, .php3, .cgi do not the document starting with the xml declaration. svn: r13426 --- src/plugins/webreport/NarrativeWeb.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 2e8705d27..b4d510977 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -391,7 +391,14 @@ class BasePage(object): Note. 'title' is used as currentsection in the navigation links. """ - of.write('\n') + # bug fix for #3262; The extensions other than the html ones do not like having the + # xml declaration statement, so do not add it.... + + # a php document begins with '\n') + + # continue with the rest of the document... of.write('\n')