summaryrefslogtreecommitdiff
path: root/addons/base/static/lib
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2011-06-22 12:06:15 +0200
committerFabien Meghazi <fme@openerp.com>2011-06-22 12:06:15 +0200
commit40e22911a5bc78cb5fe803ddfc5bbc113d414801 (patch)
tree8c62169a8e9eff16aeae8c7ac2e6c278652d21f5 /addons/base/static/lib
parent6dd5f3bc5e2a753c8060206536e77c853aacaeee (diff)
[FIX] QWeb2 did not escaped quotes in attributes
bzr revid: fme@openerp.com-20110622100615-v93dcg2hshtvdc98
Diffstat (limited to 'addons/base/static/lib')
-rw-r--r--addons/base/static/lib/qweb/qweb2.js2
1 files changed, 1 insertions, 1 deletions
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 = '';