app/cells/decidim/forms/question_readonly/show.erb in decidim-forms-0.28.0 vs app/cells/decidim/forms/question_readonly/show.erb in decidim-forms-0.28.1
- old
+ new
@@ -1,7 +1,7 @@
<li class="answer-questionnaire__question" data-question-readonly>
<p class="answer-questionnaire__question-label" data-answer-idx="<%= position %>">
- <%= translated_attribute(model.body) %>
+ <%= decidim_escape_translated(model.body) %>
</p>
<p class="answer-questionnaire__question-description">
<em><%= t(model.question_type, scope: "decidim.forms.question_types") %></em>
</p>