--- a/web/request.py Tue Jul 07 13:25:24 2009 +0200
+++ b/web/request.py Tue Jul 07 13:26:44 2009 +0200
@@ -20,7 +20,7 @@
from logilab.common.decorators import cached
from logilab.common.deprecation import obsolete
-from logilab.mtconverter import html_escape
+from logilab.mtconverter import xml_escape
from cubicweb.dbapi import DBAPIRequest
from cubicweb.common.mail import header
@@ -505,7 +505,7 @@
url = self.build_url('view', rql=rql, vid=vid, __notemplate=1,
**extraparams)
return "javascript: loadxhtml('%s', '%s', '%s')" % (
- nodeid, html_escape(url), replacemode)
+ nodeid, xml_escape(url), replacemode)
# urls/path management ####################################################