Sha256: f39304447eaa70500fd520e425bb9ae293c981c5f75a01efb5c7558f3edfead9
Contents?: true
Size: 589 Bytes
Versions: 4
Compression:
Stored size: 589 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 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
4 entries across 4 versions & 1 rubygems