diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-06-22 12:06:15 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-06-22 12:06:15 +0200 |
| commit | 40e22911a5bc78cb5fe803ddfc5bbc113d414801 (patch) | |
| tree | 8c62169a8e9eff16aeae8c7ac2e6c278652d21f5 /addons/base/static/lib | |
| parent | 6dd5f3bc5e2a753c8060206536e77c853aacaeee (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.js | 2 |
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 = ''; |
