Commit a96fed84802c4ec076b822a9e948779ca5bccd94
1 parent
ee9a46b6
Exists in
staging
and in
12 other branches
should not escape language html code in site info
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
app/helpers/forms_helper.rb
| ... | ... | @@ -128,14 +128,14 @@ module FormsHelper |
| 128 | 128 | counter += 1 |
| 129 | 129 | row << item |
| 130 | 130 | if counter % per_row == 0 |
| 131 | - rows << content_tag('tr', row.join("\n")) | |
| 131 | + rows << content_tag('tr', row.join("\n").html_safe) | |
| 132 | 132 | counter = 0 |
| 133 | 133 | row = [] |
| 134 | 134 | end |
| 135 | 135 | end |
| 136 | - rows << content_tag('tr', row.join("\n")) | |
| 136 | + rows << content_tag('tr', row.join("\n").html_safe) | |
| 137 | 137 | |
| 138 | - content_tag('table',rows.join("\n")) | |
| 138 | + content_tag('table',rows.join("\n").html_safe) | |
| 139 | 139 | end |
| 140 | 140 | |
| 141 | 141 | def date_field(name, value, datepicker_options = {}, html_options = {}) | ... | ... |