<commit_before><div class="card--list__item">
  <div class="card--list__text">
    <div>
      <a href="<%= document.url %>" class="card__link">
        <h4 class="card--list__heading heading6">
          <%= attachment_title(document) %> <small><%= document.file_type %> <%= number_to_human_size(document.file_size) %></small>
        </h4>
        <% if document.description.present? %>
            <span class="text-small"><%= translated_attribute(document.description) %></span>
        <% end %>
      </a>
    </div>
  </div>
  <div class="card--list__data">
    <%= link_to document.url, target: "_blank", rel: "noopener", class: "card--list__data__icon", title: t("decidim.application.document.download") do %>
        <%= icon "cloud-download", role: "img", aria_label: t("decidim.application.document.download") %>
    <% end %>
  </div>
</div><commit_msg>Open attachments in new tab (#7912)<commit_after><div class="card--list__item">
  <div class="card--list__text">
    <div>
      <a href="<%= document.url %>" class="card__link" target="_blank">
        <h4 class="card--list__heading heading6">
          <%= attachment_title(document) %> <small><%= document.file_type %> <%= number_to_human_size(document.file_size) %></small>
        </h4>
        <% if document.description.present? %>
            <span class="text-small"><%= translated_attribute(document.description) %></span>
        <% end %>
      </a>
    </div>
  </div>
  <div class="card--list__data">
    <%= link_to document.url, target: "_blank", rel: "noopener", class: "card--list__data__icon", title: t("decidim.application.document.download") do %>
        <%= icon "cloud-download", role: "img", aria_label: t("decidim.application.document.download") %>
    <% end %>
  </div>
</div>
{'fraction_non_alphanumeric': 0.19887005649717515, 'fraction_numerical': 0.005649717514124294, 'mean_word_length': 3.46095717884131, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5562064', 'n_tokens_mistral': 604, 'n_tokens_neox': 560, 'n_words': 105}