<commit_before><%= render :layout => "shareable/partials/button_wrapper", locals: {:options => options} do %>
  <% if options[:static_link] %>
  <%= render "shareable/partials/link", :options => options.merge(:url=>"http://www.reddit.com/submit?url=#{options[:url]}&title=#{options[:title]}") %>
  <% else %>
<script type="text/javascript">
    reddit_url='<%= options[:url] %>';
    reddit_target='<%= options[:target]%>';
    reddit_title='<%= options[:title] %>';
    reddit_bgcolor='<%= options[:color] %>';
    reddit_bordercolor='<%= options[:bordercolor] %>';
    reddit_newwindow='<%= options[:newwindow] %>';
</script>
    <% unless options[:button_only] %>
<script type="text/javascript"
<<<<<<< HEAD
<<<<<<< HEAD
src="<%= raw((options[:btnsrc].blank? ? ('http://www.reddit.com/static/button/button' + options[:type] + '.js?i=' + options[:points]) : options[:btnsrc]) + '&styled=' + options[:styled]) %>">
</script>
    <% end %>
  <% end %>
<% end %>
=======
src="<%= raw((options[:btnsrc].blank? ? ('//www.reddit.com/static/button/button' + options[:type] + '.js?i=' + options[:points]) : options[:btnsrc]) + '&styled=' + options[:styled]) %>">
</script>
>>>>>>> 88f86b10e640799e071dc79b7b08d035144866c6
=======
src="<%= raw((options[:btnsrc].blank? ? ('//www.reddit.com/static/button/button' + options[:type] + '.js?i=' + options[:points]) : options[:btnsrc]) + '&styled=' + options[:styled]) %>">
</script>
>>>>>>> 88f86b10e640799e071dc79b7b08d035144866c6<commit_msg>Trung Pham's fix for: reddit plugin does not work on https pages<commit_after><%= render :layout => "shareable/partials/button_wrapper", locals: {:options => options} do %>
  <% if options[:static_link] %>
  <%= render "shareable/partials/link", :options => options.merge(:url=>"http://www.reddit.com/submit?url=#{options[:url]}&title=#{options[:title]}") %>
  <% else %>
<script type="text/javascript">
    reddit_url='<%= options[:url] %>';
    reddit_target='<%= options[:target]%>';
    reddit_title='<%= options[:title] %>';
    reddit_bgcolor='<%= options[:color] %>';
    reddit_bordercolor='<%= options[:bordercolor] %>';
    reddit_newwindow='<%= options[:newwindow] %>';
</script>
    <% unless options[:button_only] %>
<script type="text/javascript"
<<<<<<< HEAD
<<<<<<< HEAD
src="<%= raw((options[:btnsrc].blank? ? ('//www.reddit.com/static/button/button' + options[:type] + '.js?i=' + options[:points]) : options[:btnsrc]) + '&styled=' + options[:styled]) %>">
</script>
    <% end %>
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.2644, 'fraction_numerical': 0.024, 'mean_word_length': 5.9088397790055245, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '2253714', 'n_tokens_mistral': 946, 'n_tokens_neox': 877, 'n_words': 130}