[FIX] double html escaping in qweb
This commit is contained in:
parent
7bc7757ec3
commit
11d0970721
|
@ -273,7 +273,7 @@ class QWeb(orm.AbstractModel):
|
||||||
t_render = attribute_name[2:]
|
t_render = attribute_name[2:]
|
||||||
template_attributes[attribute_name[2:]] = attribute_value
|
template_attributes[attribute_name[2:]] = attribute_value
|
||||||
else:
|
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:
|
if 'debug' in template_attributes:
|
||||||
debugger = template_attributes.get('debug', 'pdb')
|
debugger = template_attributes.get('debug', 'pdb')
|
||||||
|
|
Loading…
Reference in New Issue