<commit_before>- encoded_url = CGI.escape(properties[:url])
- tweet = properties[:tweet] || encoded_url

.nav--inline
  - if properties[:show_label?]
    %span.sharing__label.nav__item
      Share this

  .social

    %a.social__item.social__item--facebook{ href: "https://www.facebook.com/sharer/sharer.php?u=#{encoded_url}", data: {lpa_category: "share", lpa_action: "facebook", lpa_label: "#{properties[:url]}"} }
      %span.accessibility Share on Facebook
      %span.social__icon.icon--facebook.icon--white

    %a.social__item.social__item--twitter{ href: "https://twitter.com/intent/tweet?text=#{tweet}", data: {lpa_category: "share", lpa_action: "twitter", lpa_label: "#{properties[:url]}"} }
      %span.accessibility Share on Twitter
      %span.social__icon.icon--twitter.icon--white

    %a.social__item.social__item--google-plus{ href: "https://plus.google.com/share?url=#{encoded_url}", data: {lpa_category: "share", lpa_action: "google-plus", lpa_label: "#{properties[:url]}"}}
      %span.accessibility Share on Google+
      %span.social__icon.icon--google-plus.icon--white

    %a.social__item.social__item--stumbleupon{ href: "http://www.stumbleupon.com/submit?url=#{encoded_url}", data: {lpa_category: "share", lpa_action: "stumbleupon", lpa_label: "#{properties[:url]}"}}
      %span.accessibility Share on Stumbleupon
      %span.social__icon.icon--stumbleupon.icon--white<commit_msg>Ensure Stumble Upon button triggers a new window<commit_after>- encoded_url = CGI.escape(properties[:url])
- tweet = properties[:tweet] || encoded_url

.nav--inline
  - if properties[:show_label?]
    %span.sharing__label.nav__item
      Share this

  .social

    %a.social__item.social__item--facebook{ href: "https://www.facebook.com/sharer/sharer.php?u=#{encoded_url}", data: {lpa_category: "share", lpa_action: "facebook", lpa_label: "#{properties[:url]}"} }
      %span.accessibility Share on Facebook
      %span.social__icon.icon--facebook.icon--white

    %a.social__item.social__item--twitter{ href: "https://twitter.com/intent/tweet?text=#{tweet}", data: {lpa_category: "share", lpa_action: "twitter", lpa_label: "#{properties[:url]}"} }
      %span.accessibility Share on Twitter
      %span.social__icon.icon--twitter.icon--white

    %a.social__item.social__item--google-plus{ href: "https://plus.google.com/share?url=#{encoded_url}", data: {lpa_category: "share", lpa_action: "google-plus", lpa_label: "#{properties[:url]}"}}
      %span.accessibility Share on Google+
      %span.social__icon.icon--google-plus.icon--white

    %a.social__item.social__item--stumbleupon{ href: "http://www.stumbleupon.com/submit?url=#{encoded_url}", target: "_blank", data: {lpa_category: "share", lpa_action: "stumbleupon", lpa_label: "#{properties[:url]}"}}
      %span.accessibility Share on Stumbleupon
      %span.social__icon.icon--stumbleupon.icon--white
{'fraction_non_alphanumeric': 0.17160795256365538, 'fraction_numerical': 0.0, 'mean_word_length': 4.713147410358566, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1780905', 'n_tokens_mistral': 982, 'n_tokens_neox': 947, 'n_words': 154}