<commit_before>{% load thumbnail %}

{% if img %}
{% thumbnail img geometry crop='center' as im %}
<img src="{{im.url}}" style="margin:{{im|margin:geometry}}" />
{% endthumbnail %}
{% else %}
{% with url='http://placehold.it/'|add:geometry %}
<img src="{{url}}" alt="" />
{% endwith %}
{% endif %}<commit_msg>[#842] Updated with protocol independent url<commit_after>{% load thumbnail %}

{% if img %}
{% thumbnail img geometry crop='center' as im %}
<img src="{{im.url}}" style="margin:{{im|margin:geometry}}" />
{% endthumbnail %}
{% else %}
{% with url='//placehold.it/'|add:geometry %}
<img src="{{url}}" alt="" />
{% endwith %}
{% endif %}
{'fraction_non_alphanumeric': 0.2577639751552795, 'fraction_numerical': 0.004658385093167702, 'mean_word_length': 5.45, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5374554', 'n_tokens_mistral': 246, 'n_tokens_neox': 210, 'n_words': 51}