<commit_before><h3 class="pt-4 font-weight-bold text-uppercase product-details-subtitle"><%= Spree.t(:description) %></h3>
<div id="product-description-short" class="m-0 text-break product-description" data-hook="description">
  <%= sanitize product_description(@product).truncate(450) %>
</div>

<div id="product-description-long" class="m-0 text-break product-description d-none" data-hook="description">
  <%= sanitize product_description(@product) %>
</div>

<% if product_description(@product).length > 450 %>
  <span id="product-description-arrow" class="d-flex justify-content-center align-items-center mt-3 mx-auto product-description-arrow" aria-hidden="true">
    <%= icon(name: 'arrow-right',
             classes: 'spree-icon-arrow spree-icon-arrow-down',
             width: 20,
             height: 20) %>
  </span>
<% end %><commit_msg>Make config :show raw product_description usable in new storefront.<commit_after><h3 class="pt-4 font-weight-bold text-uppercase product-details-subtitle"><%= Spree.t(:description) %></h3>
<div id="product-description-short" class="m-0 text-break product-description" data-hook="description">
  <% if Spree::Config[:show_raw_product_description] %>
    <%= raw product_description(@product).truncate(450) %>
  <% else %>
    <%= sanitize product_description(@product).truncate(450) %>
  <% end %>
</div>

<div id="product-description-long" class="m-0 text-break product-description d-none" data-hook="description">
  <% if Spree::Config[:show_raw_product_description] %>
    <%= raw product_description(@product) %>
  <% else %>
    <%= sanitize product_description(@product) %>
  <% end %>
</div>

<% if product_description(@product).length > 450 %>
  <span id="product-description-arrow" class="d-flex justify-content-center align-items-center mt-3 mx-auto product-description-arrow" aria-hidden="true">
    <%= icon(name: 'arrow-right',
             classes: 'spree-icon-arrow spree-icon-arrow-down',
             width: 20,
             height: 20) %>
  </span>
<% end %>
{'fraction_non_alphanumeric': 0.1742349457058243, 'fraction_numerical': 0.017275419545903257, 'mean_word_length': 4.405333333333333, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 41, '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': '6268092', 'n_tokens_mistral': 677, 'n_tokens_neox': 617, 'n_words': 118}