<commit_before>= render :layout => "components/cards/card", :locals => {card: card, card_class: "card--poi card--poi--#{card[:topic].downcase}" } do

  = render :partial => '/components/cards/partials/things_to_do_card_tags', :locals => { :card => card }
  - if card[:image_url]
    %figure.card__hero
      = image_tag(card[:image_url], class: 'card__image')
  .card__content
    - if card[:category]
      %span.card__context
        = card[:category]
    %h1.card__name.js-card-name
      = card[:name]
    - if card[:duration].present?
      %p.card__tour-duration.copy--caption
        = card[:duration]
    %p.card__description
      = card[:description]
  - if card[:bookable?]
    %footer.card__footer<commit_msg>Update ttd card to use safe_image_tag<commit_after>= render :layout => "components/cards/card", :locals => {card: card, card_class: "card--poi card--poi--#{card[:topic].downcase}" } do

  = render :partial => '/components/cards/partials/things_to_do_card_tags', :locals => { :card => card }
  - if card[:image_url]
    %figure.card__hero
      = safe_image_tag(card[:image_url], class: 'card__image')
  .card__content
    - if card[:category]
      %span.card__context
        = card[:category]
    %h1.card__name.js-card-name
      = card[:name]
    - if card[:duration].present?
      %p.card__tour-duration.copy--caption
        = card[:duration]
    %p.card__description
      = card[:description]
  - if card[:bookable?]
    %footer.card__footer
{'fraction_non_alphanumeric': 0.1617946974847043, 'fraction_numerical': 0.0013596193065941536, 'mean_word_length': 3.3294117647058825, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '2271543', 'n_tokens_mistral': 499, 'n_tokens_neox': 494, 'n_words': 82}