fix bShare's bug
This commit is contained in:
parent
1c740b6ee4
commit
9456163fc2
|
@ -6,7 +6,7 @@
|
|||
<%= format_time(post.created_at) %> |
|
||||
<%= "浏览数 " + post.visited.to_s %> |
|
||||
<%= link_to t('comment'), blog_path(post) + "#disqus_thread" %> |
|
||||
<div class="bsync-custom icon-long-blue"><a title="一键分享到各大微博和社交网络" class="bshare-bsync" onclick="javascript:bSync.share(event,'', {title:'<%= post.title %>', summary: '<%= Nokogiri(HTML_Truncator.truncate(post.content_html, 100)).text %>'})"></a></div>
|
||||
<div class="bsync-custom icon-long-blue"><a title="一键分享到各大微博和社交网络" class="bshare-bsync" onclick="javascript:bSync.share(event,'', {title:'<%= post.title %>', summary: '<%= Nokogiri(HTML_Truncator.truncate(post.content_html, 100)).text.gsub("\n","") %>'})"></a></div>
|
||||
<script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/bsync.js#uuid=df284dbb-7e09-4cac-9e90-5a186ac58e48"></script>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue