<commit_before>{# Variables #}
{% set base_class = "c-bolt-list-item" %}
{% set attributes = create_attribute({}) %}
{% set tag = item_tag %}

{% set last = loop.last %}
{% set classes = [
  base_class,
  display in display_options ? "#{base_class}--display-#{display}" : "",
  spacing in spacing_options ? "#{base_class}--spacing-#{spacing}" : "",
  separator in separator_options ? "#{base_class}--separator-#{separator}" : "",
  align in align_options ? "#{base_class}--align-#{align}" : "",
  last ? "#{base_class}--last-item",
  inset ? "#{base_class}--inset",
] %}

<bolt-list-item
  {% if last %} last {% endif %}
>
  <replace-with-grandchildren>
    <{{ tag }} {{ attributes.addClass(classes) }}>
      {% if item is iterable %}
        {{ item.content | join }}
      {% else %}
        {{ item }}
      {% endif %}
    </{{ tag }}>
  </replace-with-grandchildren>
</bolt-list-item><commit_msg>fix: Treat cell.content as renderable in list component<commit_after>{# Variables #}
{% set base_class = "c-bolt-list-item" %}
{% set attributes = create_attribute({}) %}
{% set tag = item_tag %}

{% set last = loop.last %}
{% set classes = [
  base_class,
  display in display_options ? "#{base_class}--display-#{display}" : "",
  spacing in spacing_options ? "#{base_class}--spacing-#{spacing}" : "",
  separator in separator_options ? "#{base_class}--separator-#{separator}" : "",
  align in align_options ? "#{base_class}--align-#{align}" : "",
  last ? "#{base_class}--last-item",
  inset ? "#{base_class}--inset",
] %}

<bolt-list-item
  {% if last %} last {% endif %}
>
  <replace-with-grandchildren>
    <{{ tag }} {{ attributes.addClass(classes) }}>
      {% if item is iterable %}
        {{ item.content }}
      {% else %}
        {{ item }}
      {% endif %}
    </{{ tag }}>
  </replace-with-grandchildren>
</bolt-list-item>
{'fraction_non_alphanumeric': 0.21347093970668116, 'fraction_numerical': 0.0, 'mean_word_length': 3.354609929078014, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '4362314', 'n_tokens_mistral': 667, 'n_tokens_neox': 602, 'n_words': 119}