[FIX] QWeb2 did not escaped quotes in attributes
bzr revid: fme@openerp.com-20110622100615-v93dcg2hshtvdc98
This commit is contained in:
parent
6dd5f3bc5e
commit
40e22911a5
|
@ -48,7 +48,7 @@ var QWeb2 = {
|
||||||
if (o !== null && o !== undefined) {
|
if (o !== null && o !== undefined) {
|
||||||
if (o.constructor === Array) {
|
if (o.constructor === Array) {
|
||||||
if (o[1] !== null && o[1] !== undefined) {
|
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') {
|
} else if (typeof o === 'object') {
|
||||||
var r = '';
|
var r = '';
|
||||||
|
|
Loading…
Reference in New Issue