From 40e22911a5bc78cb5fe803ddfc5bbc113d414801 Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Wed, 22 Jun 2011 12:06:15 +0200 Subject: [PATCH] [FIX] QWeb2 did not escaped quotes in attributes bzr revid: fme@openerp.com-20110622100615-v93dcg2hshtvdc98 --- addons/base/static/lib/qweb/qweb2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/base/static/lib/qweb/qweb2.js b/addons/base/static/lib/qweb/qweb2.js index 5041142924d..5e53ddbf645 100644 --- a/addons/base/static/lib/qweb/qweb2.js +++ b/addons/base/static/lib/qweb/qweb2.js @@ -48,7 +48,7 @@ var QWeb2 = { if (o !== null && o !== undefined) { if (o.constructor === Array) { if (o[1] !== null && o[1] !== undefined) { - return ' ' + o[0] + '="' + this.html_escape(o[1]) + '"'; + return ' ' + o[0] + '="' + this.html_escape(o[1], true) + '"'; } } else if (typeof o === 'object') { var r = '';