summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/scripting/scripts/exportxhtml/ExportXHTML.py
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/scripting/scripts/exportxhtml/ExportXHTML.py')
-rw-r--r--kexi/plugins/scripting/scripts/exportxhtml/ExportXHTML.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/plugins/scripting/scripts/exportxhtml/ExportXHTML.py b/kexi/plugins/scripting/scripts/exportxhtml/ExportXHTML.py
index 9febfcdd..d0d1f0cc 100644
--- a/kexi/plugins/scripting/scripts/exportxhtml/ExportXHTML.py
+++ b/kexi/plugins/scripting/scripts/exportxhtml/ExportXHTML.py
@@ -83,7 +83,7 @@ class HtmlExporter:
def htmlescape(self, text):
import string
- return string.tqreplace(string.tqreplace(string.tqreplace(str(text),'&','&amp;'),'<','&lt;'),'>','&gt;')
+ return string.replace(string.replace(string.replace(str(text),'&','&amp;'),'<','&lt;'),'>','&gt;')
def write(self, output, style):
name = self.datasource.name()