Commit a463ffe90058ef7793f127a3f7d4f10db473517e
1 parent
a0f2837c
Exists in
staging
and in
3 other branches
fix radio_group html escape
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
... | ... | @@ -539,7 +539,7 @@ module ApplicationHelper |
539 | 539 | ) |
540 | 540 | label_html = self.class.content_tag 'label', text, |
541 | 541 | :class => 'formlabel' |
542 | - control_html = self.class.content_tag 'div', html, | |
542 | + control_html = self.class.content_tag 'div', html.html_safe, | |
543 | 543 | :class => 'formfield type-radio '+ |
544 | 544 | 'fieldgroup linesize'+line_size.to_s() |
545 | 545 | ... | ... |