--- a/web/views/owl.py Wed Feb 18 00:46:10 2009 +0100
+++ b/web/views/owl.py Wed Feb 18 16:57:51 2009 +0100
@@ -1,4 +1,4 @@
-from logilab.mtconverter import TransformError, html_escape
+from logilab.mtconverter import TransformError, xml_escape
from cubicweb.common.view import StartupView
from cubicweb.common.view import EntityView
@@ -193,7 +193,7 @@
try:
attr = entity.printable_value(aname, format='text/plain')
if attr:
- self.w(u'<%s>%s</%s>' % (aname, html_escape(attr), aname))
+ self.w(u'<%s>%s</%s>' % (aname, xml_escape(attr), aname))
except TransformError:
pass
self.w(u'<!--relations -->')