lib/site/views/_article.erb in serious-0.1.3 vs lib/site/views/_article.erb in serious-0.1.4
- old
+ new
@@ -1,12 +1,12 @@
<div class="article">
<span class="date right"><%= article.date %></span>
<h2><a href="<%= article.url %>"><%= article.title %></a></h2>
<div class="body">
<% if summary_only %>
- <%= format article.summary %>
+ <%= article.summary.formatted %>
<% else %>
- <%= format article.body %>
+ <%= article.body.formatted %>
<span class="author right">Written by <%= article.author %></span>
<% end %>
</div>
</div>