<commit_before><div class="row">
  <div class="col-md-8">

    <!-- question & answers -->
    <div id="question" class="form-group">
      <h3><span style="color: red">* </span><%= @question.text %></h3>

      <%= render "shared/errors", object: f.object %>
      
      <% for answer in @question.answers %>
        <div class="radio">
          <%= f.label :answer_id, value: answer.id do %>
            <%= f.radio_button :answer_id, answer.id %> <%= answer.text %>
          <% end %>
        </div>
      <% end %>

    </div>
    <!-- end question & answers -->
  
    <!-- additional info -->
    <div id="additionalInfo" class="form-group clearfix">
      <label>If you have any supporting evidence or additional notes, then add them here</label>
      <%= f.text_area :notes, class: "form-control" %>

      <div class="supportingLinks">
        <label>Or link to any supporting external resources</label>
        <%= f.fields_for :links do |lf| %>
          <%= render "links/link_fields", f: lf %>
        <% end %>

        <%= link_to_add_fields "Add another link", f, :links %>
      </div>
    </div>
    <!-- end additional info -->
    
  </div> <!-- end column -->

  <!-- help -->
  <div id="helpColumn" class="col-md-4">
    <% if @question.notes.present? %>
      <div class="helpWrapper">
        <h4>Question help</h4>
        <p><%= @question.notes %></p>
      </div>
    <% end %>
  </div>
  <!-- end help column -->

</div> <!-- end row -->
<commit_msg>Allow notes to contain html<commit_after><div class="row">
  <div class="col-md-8">

    <!-- question & answers -->
    <div id="question" class="form-group">
      <h3><span style="color: red">* </span><%= @question.text %></h3>

      <%= render "shared/errors", object: f.object %>
      
      <% for answer in @question.answers %>
        <div class="radio">
          <%= f.label :answer_id, value: answer.id do %>
            <%= f.radio_button :answer_id, answer.id %> <%= answer.text %>
          <% end %>
        </div>
      <% end %>

    </div>
    <!-- end question & answers -->
  
    <!-- additional info -->
    <div id="additionalInfo" class="form-group clearfix">
      <label>If you have any supporting evidence or additional notes, then add them here</label>
      <%= f.text_area :notes, class: "form-control" %>

      <div class="supportingLinks">
        <label>Or link to any supporting external resources</label>
        <%= f.fields_for :links do |lf| %>
          <%= render "links/link_fields", f: lf %>
        <% end %>

        <%= link_to_add_fields "Add another link", f, :links %>
      </div>
    </div>
    <!-- end additional info -->
    
  </div> <!-- end column -->

  <!-- help -->
  <div id="helpColumn" class="col-md-4">
    <% if @question.notes.present? %>
      <div class="helpWrapper">
        <h4>Question help</h4>
        <p><%= @question.notes.html_safe %></p>
      </div>
    <% end %>
  </div>
  <!-- end help column -->

</div> <!-- end row -->

{'fraction_non_alphanumeric': 0.19912985274431058, 'fraction_numerical': 0.004016064257028112, 'mean_word_length': 2.146315789473684, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3095723', 'n_tokens_mistral': 1011, 'n_tokens_neox': 930, 'n_words': 240}