<commit_before><li id="comment-<%= comment.id %>">
<div class="comment">
  <div class="thumbnail">
    <img class="avatar" alt="" src="<%= comment.owner.image_url %>">
  </div>
  <div class="comment-block">
    <div class="comment-arrow"></div>
    <span class="comment-by">
      <% if commentator_current_user == comment.owner %><%= link_to "×", [commentator, comment], :method => :delete, :remote => true, :confirm => "Are you sure you want to remove this comment?", :disable_with => "×", :class => 'close' %><% end %>
      <strong><%= comment.owner.name %></strong>
      <span class="pull-right">
        <i class="icon-reply"></i> 
        <%= link_to "Reply", [commentator, :reply, comment], remote: true, class: 'comment-reply' %>
        &nbsp;
      </span>
    </span>
    <p><%= markdown(comment.body) %></p>
    <span class="date pull-right"><%= time_ago_in_words(comment.created_at) %> ago</span>
  </div>
</div>
<% unless local_assigns[:nested_replies] === false %>
<ul class="comments reply replies">
  <%- comment.replies.each do |reply| %><%= render reply %><%- end %>
</ul>
<% end %>
<div class="reply-form"></div>
</li>
<commit_msg>Allows the comment owner to be nil (in case the owner is deleted from the database)<commit_after><li id="comment-<%= comment.id %>">
<div class="comment">
  <div class="thumbnail">
    <img class="avatar" alt="" src="<%= comment.owner.try(:image_url) %>">
  </div>
  <div class="comment-block">
    <div class="comment-arrow"></div>
    <span class="comment-by">
      <% if commentator_current_user == comment.owner %><%= link_to "×", [commentator, comment], :method => :delete, :remote => true, :confirm => "Are you sure you want to remove this comment?", :disable_with => "×", :class => 'close' %><% end %>
      <strong><%= comment.owner.try(:name) %></strong>
      <span class="pull-right">
        <i class="icon-reply"></i> 
        <%= link_to "Reply", [commentator, :reply, comment], remote: true, class: 'comment-reply' %>
        &nbsp;
      </span>
    </span>
    <p><%= markdown(comment.body) %></p>
    <span class="date pull-right"><%= time_ago_in_words(comment.created_at) %> ago</span>
  </div>
</div>
<% unless local_assigns[:nested_replies] === false %>
<ul class="comments reply replies">
  <%- comment.replies.each do |reply| %><%= render reply %><%- end %>
</ul>
<% end %>
<div class="reply-form"></div>
</li>

{'fraction_non_alphanumeric': 0.2236180904522613, 'fraction_numerical': 0.0, 'mean_word_length': 3.9564315352697097, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 95, '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': '3306626', 'n_tokens_mistral': 839, 'n_tokens_neox': 791, 'n_words': 199}