summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-03-21 16:18:27 +0100
committerChristophe Matthieu <chm@openerp.com>2013-03-21 16:18:27 +0100
commitf0b8314554b7f9e7543c87a504dd1dae44da2d57 (patch)
treea6c5d25bd289387109ee6d005d5eab8bd4f022c5 /addons/web/static/src/xml
parent7d5ea8896ea71fc4031dbe8f2e8f34888a117aed (diff)
[IMP] view_form radio button: raw to esc
bzr revid: chm@openerp.com-20130321151827-p24pduqmcgy1k35u
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 02129b2fb9a..56faec7ad42 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1093,7 +1093,7 @@
<t t-set="width" t-value="Math.floor(100 / widget.field.selection.length)"/>
<t t-if="!widget.no_radiolabel">
<t t-foreach="widget.field.selection" t-as="selection">
- <div class="oe_radio_header" t-att-style="'width: ' + width + '%;'"><t t-raw="selection[1]"/></div>
+ <div class="oe_radio_header" t-att-style="'width: ' + width + '%;'"><t t-esc="selection[1]"/></div>
</t>
<br/>
</t>
@@ -1104,7 +1104,7 @@
<t t-if="!widget.horizontal">
<t t-foreach="widget.field.selection" t-as="selection">
<div class="oe_radio_header" t-att-style="'width: ' + width + '%;'" t-att-data-id="selection[0]">
- <div class="oe_radio_input">&amp;nbsp;</div><t t-if="!widget.no_radiolabel" t-raw="selection[1]"/>
+ <div class="oe_radio_input">&amp;nbsp;</div><t t-if="!widget.no_radiolabel" t-esc="selection[1]"/>
</div>
</t>
</t>