<commit_before>%ul.list-group
  - comments.each do |c|
    %li.list-group-item.comment
      %span.title.text-muted{:style => 'min-width: 140px; display:inline-block;'}= "#{c.creator.name}<br/>#{format_as_date_time(c.created_at)}".html_safe
      %span.pull-right{:style => 'min-width: 80px; display:block;vertical-align:top'}
        - if can? :destroy, c
          = link_to [c.commentable, c], :method => :delete, :class => "btn btn-warning btn-xs pull-right", :style => "margin-left: 5px;", :data => { :confirm => 'Are you sure you want to remove this comment?' } do
            %i.fa.fa-trash
            Delete
      %span.title{:style => 'display:block;vertical-align:top;word-wrap:break-word;'}= c.comment.html_safe<commit_msg>[#131637727] html safe and format text of comments<commit_after>%ul.list-group
  - comments.each do |c|
    %li.list-group-item.comment
      %span.title.text-muted{:style => 'min-width: 140px; display:inline-block;'}= "#{c.creator.name}<br/>#{format_as_date_time(c.created_at)}".html_safe
      %span.pull-right{:style => 'min-width: 80px; display:block;vertical-align:top'}
        - if can? :destroy, c
          = link_to [c.commentable, c], :method => :delete, :class => "btn btn-warning btn-xs pull-right", :style => "margin-left: 5px;", :data => { :confirm => 'Are you sure you want to remove this comment?' } do
            %i.fa.fa-trash
            Delete
      %span.title{:style => 'display:block;vertical-align:top;word-wrap:break-word;'}= format_as_text(c.comment.html_safe)
{'fraction_non_alphanumeric': 0.1818778726198293, 'fraction_numerical': 0.013788575180564675, 'mean_word_length': 3.562874251497006, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '7302860', 'n_tokens_mistral': 550, 'n_tokens_neox': 533, 'n_words': 102}