<commit_before>{% load bootstrap3 %}
<div class="panel {% if header %}panel-info{% else %}panel-default{% endif %}">
  <div class="panel-heading">
    {% if editable %}
    <div class="btn-group pull-right">
      {% if post.old_post %}
      <a href="{%url 'post.views.history' post.id %}" title="history" class="btn btn-info btn-xs">
	{% bootstrap_icon "time" %}
      </a>
      {% endif %}
      <a href="{%url 'post.views.edit' post.id %}" title="edit" class="btn btn-warning btn-xs">
	{% bootstrap_icon "edit" %}
      </a>
      <a href="{%url 'post.views.delete' post.id %}" title="delete" class="btn btn-danger btn-xs">
	{% bootstrap_icon "remove" %}
      </a>
    </div>
    {% endif %}
    
    {% if headerlink %}<a href="{% url 'post.views.view' post.id %}">{% bootstrap_icon "link" %} {% endif %}
      {% if post.title %}
      {{post.title}} - 
      {% endif %}
      {{post}}
    {% if headerlink %}</a>{% endif %}
    par Rodolphe
    le {{ post.created_at|date:"DATE_FORMAT" }}
    à {{ post.created_at|time:"TIME_FORMAT" }}
    {% if post.updated_at %}
    (modifié
    le {{ post.updated_at|date:"DATE_FORMAT" }}
    à {{ post.updated_at|time:"TIME_FORMAT" }}
    )
    {% endif %}
  </div>
  <div class="panel-body">
    {% if post.picture %}
    <a href="{{MEDIA_URL}}{{post.picture}}">
      <img class="img-thumbnail" src="{{MEDIA_URL}}{{post.picture}}" style="max-width:300px; max-height: 300px;" />
    </a>
    {% endif %}
    {{post.content}}<br/>
    {% if headerlink %}
    <a href="{% url 'post.views.view' post.id %}" class="btn btn-default pull-right">Lire la discussion</a>
    {% endif %}
  </div>
</div><commit_msg>Line breaks in contents<commit_after>{% load bootstrap3 %}
<div class="panel {% if header %}panel-info{% else %}panel-default{% endif %}">
  <div class="panel-heading">
    {% if editable %}
    <div class="btn-group pull-right">
      {% if post.old_post %}
      <a href="{%url 'post.views.history' post.id %}" title="history" class="btn btn-info btn-xs">
	{% bootstrap_icon "time" %}
      </a>
      {% endif %}
      <a href="{%url 'post.views.edit' post.id %}" title="edit" class="btn btn-warning btn-xs">
	{% bootstrap_icon "edit" %}
      </a>
      <a href="{%url 'post.views.delete' post.id %}" title="delete" class="btn btn-danger btn-xs">
	{% bootstrap_icon "remove" %}
      </a>
    </div>
    {% endif %}
    
    {% if headerlink %}<a href="{% url 'post.views.view' post.id %}">{% bootstrap_icon "link" %} {% endif %}
      {% if post.title %}
      {{post.title}} - 
      {% endif %}
      {{post}}
    {% if headerlink %}</a>{% endif %}
    par Rodolphe
    le {{ post.created_at|date:"DATE_FORMAT" }}
    à {{ post.created_at|time:"TIME_FORMAT" }}
    {% if post.updated_at %}
    (modifié
    le {{ post.updated_at|date:"DATE_FORMAT" }}
    à {{ post.updated_at|time:"TIME_FORMAT" }}
    )
    {% endif %}
  </div>
  <div class="panel-body">
    {% if post.picture %}
    <a href="{{MEDIA_URL}}{{post.picture}}">
      <img class="img-thumbnail" src="{{MEDIA_URL}}{{post.picture}}" style="max-width:300px; max-height: 300px;" />
    </a>
    {% endif %}
    {{post.content|linebreaks}}<br/>
    {% if headerlink %}
    <a href="{% url 'post.views.view' post.id %}" class="btn btn-default pull-right">Lire la discussion</a>
    {% endif %}
  </div>
</div>
{'fraction_non_alphanumeric': 0.21898468008410935, 'fraction_numerical': 0.004205467107239411, 'mean_word_length': 2.9642857142857144, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '2254357', 'n_tokens_mistral': 1297, 'n_tokens_neox': 1150, 'n_words': 242}