Sha256: b80676bb870c88b640fec6b9c3b215bd3021bf95cc1e60974ca0866f2d68410d
Contents?: true
Size: 603 Bytes
Versions: 15
Compression:
Stored size: 603 Bytes
Contents
<% if item.attribute_present?(:link) && item.link.present? %> <% # The gsub at the end is to replace a mdash with a hyphen. It was causing Android to barf. summary = truncate(strip_tags(item.contents.strip), :length => 90).gsub("—", "-") %> <div class="share_btn btn btn-secondary hhl" data-url="<%= item.link %>" data-title="<%= item.title %>" data-summary=" <%= summary %> " <% if get_article_img_url(item) %> data-fbimg="<%= get_article_img_url(item) %>" <% end %> > Share </div> <% end %>
Version data entries
15 entries across 15 versions & 1 rubygems