aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
Diffstat (limited to 'libbe')
-rw-r--r--libbe/command/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/command/html.py b/libbe/command/html.py
index fbbdf97..b769179 100644
--- a/libbe/command/html.py
+++ b/libbe/command/html.py
@@ -368,7 +368,7 @@ class HTMLGen (object):
def _escape(self, string):
if string == None:
return ''
- return xml.sax.saxutils.escape(char)
+ return xml.sax.saxutils.escape(string)
def _load_user_templates(self):
for filename,attr in [('style.css','css_file'),