<commit_before>{#
    Base blocks
#}

{% block datagrid %}
{% spaceless %}
    <table>
        <thead>
            {{ rollerworks_datagrid_header_widget(datagrid) }}
        </thead>
        <tbody>
            {{ rollerworks_datagrid_rowset_widget(datagrid) }}
        </tbody>
    </table>
{% endspaceless %}
{% endblock %}

{% block datagrid_column_header %}
{% spaceless %}
    <th><span>{{ header.label }}</span></th>
{% endspaceless %}
{% endblock %}

{% block datagrid_header %}
{% spaceless %}
<tr>
    {% for header in headers %}
        {{ rollerworks_datagrid_column_header_widget(header) }}
    {% endfor %}
</tr>
{% endspaceless %}
{% endblock %}

{% block datagrid_column_cell %}
{% spaceless %}
<td>
    <div>
        {% endspaceless %}{% if cell.useRaw %}{{ cell.value|raw }}{% else %}{{ cell.value }}{% endif %}{% spaceless %}
    </div>
</td>
{% endspaceless %}
{% endblock %}

{% block datagrid_column_type_compound_column_cell %}
{% spaceless %}
<td>
    {% for subCell in cell.value %}
        {{ rollerworks_datagrid_column_cell_widget(subCell, subCell.attributes) }}
    {% endfor %}
</td>
{% endspaceless %}
{% endblock %}

{% block datagrid_rowset %}
{% spaceless %}
    {% for index, row in datagrid %}
        <tr>
            {% for cell in row %}
                {{ rollerworks_datagrid_column_cell_widget(cell) }}
            {% endfor %}
        </tr>
    {% endfor %}
{% endspaceless %}
{% endblock %}

{#
    Core extension blocks
#}

{% block datagrid_column_type_action_cell %}
<a {{ rollerworks_datagrid_attributes_widget(vars.attr|merge({'href' : vars.url})) }}>{{ content|raw }}</a>
{% endblock %}
<commit_msg>Fix empty html tag<commit_after>{#
    Base blocks
#}

{% block datagrid %}
{% spaceless %}
    <table>
        <thead>
            {{ rollerworks_datagrid_header_widget(datagrid) }}
        </thead>
        <tbody>
            {{ rollerworks_datagrid_rowset_widget(datagrid) }}
        </tbody>
    </table>
{% endspaceless %}
{% endblock %}

{% block datagrid_column_header %}
{% spaceless %}
    <th><span>{{ header.label }}</span></th>
{% endspaceless %}
{% endblock %}

{% block datagrid_header %}
{% spaceless %}
<tr>
    {% for header in headers %}
        {{ rollerworks_datagrid_column_header_widget(header) }}
    {% endfor %}
</tr>
{% endspaceless %}
{% endblock %}

{% block datagrid_column_cell %}
{% spaceless %}
<td>
    <div>
        {% endspaceless %}{% if cell.useRaw %}{{ cell.value|raw }}{% else %}{{ cell.value }}{% endif %}{% spaceless %}
    </div>
</td>
{% endspaceless %}
{% endblock %}

{% block datagrid_column_type_compound_column_cell %}
{% spaceless %}
<td>
    {% for subCell in cell.value %}
        {{ rollerworks_datagrid_column_cell_widget(subCell, subCell.attributes) }}
    {% endfor %}
</td>
{% endspaceless %}
{% endblock %}

{% block datagrid_rowset %}
{% spaceless %}
    {% for index, row in datagrid %}
        <tr>
            {% for cell in row %}
                {{ rollerworks_datagrid_column_cell_widget(cell) }}
            {% endfor %}
        </tr>
    {% endfor %}
{% endspaceless %}
{% endblock %}

{#
    Core extension blocks
#}

{% block datagrid_column_type_action_cell %}
<a{{ rollerworks_datagrid_attributes_widget(vars.attr|merge({'href' : vars.url})) }}>{{ content|raw }}</a>
{% endblock %}

{'fraction_non_alphanumeric': 0.1781818181818182, 'fraction_numerical': 0.0, 'mean_word_length': 3.060270602706027, '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': '5304927', 'n_tokens_mistral': 1302, 'n_tokens_neox': 1123, 'n_words': 199}