app/views/rapidfire/answers/_checkbox.html.erb in rapidfire-4.0.0 vs app/views/rapidfire/answers/_checkbox.html.erb in rapidfire-5.0.0
- old
+ new
@@ -1,8 +1,8 @@
<%= render partial: "rapidfire/answers/errors", locals: {answer: answer} %>
<div class="form-group">
-<%= f.label :answer_text, answer.question.question_text %>
+<%= f.label :answer_text, answer.question.question_text.html_safe %>
<%= f.fields_for :answer_text do |af| %>
<%- answer.question.options.each_with_index do |option, index| %>
<%= af.label index do %>
<%= af.check_box index, { checked: checkbox_checked?(answer, option) }, option %>
<%= option %>