<commit_before>{% extends "RedKiteCmsBundle:Block:Editor/_editor.html.twig" %}

{% block body %}

{% if wrapper_tag is defined %}
<{{ wrapper_tag }} {{ editor|raw }} class="{% if(active_page is defined and link.href == active_page) %}active {% endif %}{% if link.class is defined %}{{ link.class }}{% endif %}" {% if item is defined %} data-item="{{ item }}"{% endif %}{% if slot_name is defined %} data-slot-name="{{ slot_name }}"{% endif %}>
{% if no_link_when_active is defined and active_page is defined and no_link_when_active and link.href == active_page %}
<span>{{ link.value }}</span>
{% else %}
<a href="{{ link.href }}">{{ link.value }}</a>
{% endif %}
</{{ wrapper_tag }}>
{% else %}
<a href="{{ link.href }}" {{ editor|raw }}>{{ link.value }}</a>
{% endif %}
{% endblock %}<commit_msg>added missing class attribute to link anfd button<commit_after>{% extends "RedKiteCmsBundle:Block:Editor/_editor.html.twig" %}

{% block body %}

{% if wrapper_tag is defined %}
<{{ wrapper_tag }} {{ editor|raw }} class="{% if(active_page is defined and link.href == active_page) %}active {% endif %}{% if link.class is defined %}{{ link.class }}{% endif %}" {% if item is defined %} data-item="{{ item }}"{% endif %}{% if slot_name is defined %} data-slot-name="{{ slot_name }}"{% endif %}>
{% if no_link_when_active is defined and active_page is defined and no_link_when_active and link.href == active_page %}
<span>{{ link.value }}</span>
{% else %}
<a href="{{ link.href }}" {% if link.class is defined %}class="{{ link.class }}"{% endif %}>{{ link.value }}</a>
{% endif %}
</{{ wrapper_tag }}>
{% else %}
<a href="{{ link.href }}" {% if link.class is defined %}class="{{ link.class }}"{% endif %} {{ editor|raw }}>{{ link.value }}</a>
{% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.22448979591836735, 'fraction_numerical': 0.0, 'mean_word_length': 4.883333333333334, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '5206013', 'n_tokens_mistral': 637, 'n_tokens_neox': 561, 'n_words': 167}