<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />

    <script>
    .list-inline {
    	padding-left: 0;
    	list-style: none;
    }
    </script>

  </head>
  <body <%= 'dir=rtl' if %w(ar dv he iw fa nqo ps sd ug ur yi).include?(@topic.locale) %>>
  <p>
    <%= t('above_this_line', default: "Make sure your reply appears above this line") %><br/>
    =================================================================<br/>
    <%= t('message_id', default: 'Message ID') %>:<%= @topic.id %></br>
  </p>
  <p>
    <%= t('hello', user_name: @topic.user.login) %>,
  </p>
  <p>
    <%= t('message_response', default: 'The following message has been posted in response to your question:') %>
  </p>
  <p>
    <%= simple_format(@post.body) %>
  </p>
  <%= render :partial => 'posts/thumbnail', locals: { :model_name => @post } %>
  <p>
    <%= t('view_online', default: 'View this online:') %> <%= ticket_url(@topic, host: AppSettings['settings.site_url']) %>
  </p>
  <br/>
  <p>
    <strong>Powered by Helpy</strong><br/>
    Get a Free Helpy Support System for your Site at http://helpy.io/
  </p>
  </body>
</html><commit_msg>inline styles and use sanitize on body<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
  </head>
  <body <%= 'dir=rtl' if %w(ar dv he iw fa nqo ps sd ug ur yi).include?(@topic.locale) %>>
  <style>
  .list-inline {
    padding-left: 0;
    list-style: none;
  }
  </style>
  <p>
    <%= t('above_this_line', default: "Make sure your reply appears above this line") %><br/>
    =================================================================<br/>
    <%= t('message_id', default: 'Message ID') %>:<%= @topic.id %></br>
  </p>
  <p>
    <%= t('hello', user_name: @topic.user.login) %>,
  </p>
  <p>
    <%= t('message_response', default: 'The following message has been posted in response to your question:') %>
  </p>
  <p>
    <%= sanitize @post.body %>
  </p>
  <%= render :partial => 'posts/thumbnail', locals: { :model_name => @post } %>
  <p>
    <%= t('view_online', default: 'View this online:') %> <%= ticket_url(@topic, host: AppSettings['settings.site_url']) %>
  </p>
  <br/>
  <p>
    <strong>Powered by Helpy</strong><br/>
    Get a Free Helpy Support System for your Site at http://helpy.io/
  </p>
  </body>
</html>
{'fraction_non_alphanumeric': 0.255939974989579, 'fraction_numerical': 0.0016673614005835765, 'mean_word_length': 3.4444444444444446, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 85, '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': '1545330', 'n_tokens_mistral': 909, 'n_tokens_neox': 852, 'n_words': 222}