diff -r b0a583156d6d -r e75ab3635f07 utils.py --- a/utils.py Wed Sep 02 17:47:39 2009 +0200 +++ b/utils.py Wed Sep 02 18:10:36 2009 +0200 @@ -7,6 +7,8 @@ """ __docformat__ = "restructuredtext en" +from logilab.mtconverter import xml_escape + import locale from md5 import md5 from datetime import datetime, timedelta, date @@ -262,17 +264,18 @@ # 2/ css files for cssfile, media in self.cssfiles: w(u'\n' % - (media, cssfile)) + (media, xml_escape(cssfile))) # 3/ ie css if necessary if self.ie_cssfiles: w(u' \n') # 4/ js files for jsfile in self.jsfiles: - w(u'\n' % jsfile) + w(u'\n' % + xml_escape(jsfile)) # 5/ post inlined scripts (i.e. scripts depending on other JS files) if self.post_inlined_scripts: w(u'