From 4797f0f1f63e04363e3bcc586c2189d812c68074 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Fri, 25 Feb 2011 16:05:13 +0000 Subject: [PATCH] Revert commit 16664 to restore full functionality svn: r16713 --- src/plugins/webreport/NarrativeWeb.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 8cfe8d91c..5b2608779 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -210,8 +210,7 @@ _html_replacement = { # This command then defines the 'html_escape' option for escaping # special characters for presentation in HTML based on the above list. -from xml.sax.saxutils import escape as html_escape -def _html_escape(text): +def html_escape(text): """Convert the text and replace some characters with a &# variant.""" # First single characters, no quotes