= 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
      %span.btn.btn--bookable.btn--full-width
        Book now
= 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
      %span.btn.btn--bookable.btn--full-width
        Book now
Update ttd card to use safe_image_tag
Update ttd card to use safe_image_tag
