Commit a96fed84802c4ec076b822a9e948779ca5bccd94
1 parent
ee9a46b6
Exists in
profile_api_improvements
and in
1 other branch
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,14 +128,14 @@ module FormsHelper | ||
128 | counter += 1 | 128 | counter += 1 |
129 | row << item | 129 | row << item |
130 | if counter % per_row == 0 | 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 | counter = 0 | 132 | counter = 0 |
133 | row = [] | 133 | row = [] |
134 | end | 134 | end |
135 | end | 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 | end | 139 | end |
140 | 140 | ||
141 | def date_field(name, value, datepicker_options = {}, html_options = {}) | 141 | def date_field(name, value, datepicker_options = {}, html_options = {}) |