app/views/pages_cms/articles/index.html.erb in pages_cms-1.0.3 vs app/views/pages_cms/articles/index.html.erb in pages_cms-1.0.4

- old
+ new

@@ -11,10 +11,10 @@ <div class="image-post" ><%= image_tag post.image.file %></div> <% end %> <div style="cursor: pointer;" onclick="window.location='/articles/<%= post.id.to_s %>';"> <h2 class="center"><%= post.title %></h2> <h6>Posted <%= post.created_at.strftime("%B %d") %></h6> - <p><%= truncate(post.content, length: 200) %></p> + <p><%=raw HTML_Truncator.truncate(post.content, 50) %></p> </div> <div><%= link_to 'Read More', article_path(post) %></div> <div class="tags"> <% post.tags.each do |tag| %> <%= link_to tag, articles_path(search: tag), class: 'btn btn-default btn-xs' %> \ No newline at end of file