projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc7757
)
[FIX] double html escaping in qweb
author
Fabien Meghazi
<fme@openerp.com>
Tue, 16 Sep 2014 18:20:39 +0000
(20:20 +0200)
committer
Fabien Meghazi
<fme@openerp.com>
Tue, 16 Sep 2014 19:32:37 +0000
(21:32 +0200)
openerp/addons/base/ir/ir_qweb.py
patch
|
blob
|
history
diff --git
a/openerp/addons/base/ir/ir_qweb.py
b/openerp/addons/base/ir/ir_qweb.py
index
2e8adaa
..
c244fe2
100644
(file)
--- a/
openerp/addons/base/ir/ir_qweb.py
+++ b/
openerp/addons/base/ir/ir_qweb.py
@@
-273,7
+273,7
@@
class QWeb(orm.AbstractModel):
t_render = attribute_name[2:]
template_attributes[attribute_name[2:]] = attribute_value
else:
- generated_attributes += self.render_attribute(element, attribute_name, escape(attribute_value), qwebcontext)
+ generated_attributes += self.render_attribute(element, attribute_name, attribute_value, qwebcontext)
if 'debug' in template_attributes:
debugger = template_attributes.get('debug', 'pdb')