[FIX] QWeb2 did not escaped quotes in attributes

bzr revid: fme@openerp.com-20110622100615-v93dcg2hshtvdc98
This commit is contained in:
Fabien Meghazi 2011-06-22 12:06:15 +02:00
parent 6dd5f3bc5e
commit 40e22911a5
1 changed files with 1 additions and 1 deletions

View File

@ -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 = '';