Feature #202 » textilize-news-summary_r3084.patch
app/views/news/_news.rhtml (working copy) | ||
---|---|---|
2 | 2 |
<%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %> |
3 | 3 |
<%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %> |
4 | 4 |
<br /> |
5 |
<% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %>
|
|
5 |
<% unless news.summary.blank? %><span class="summary"><%= textilizable(news.summary) %></span><br /><% end %>
|
|
6 | 6 |
<span class="author"><%= authoring news.created_on, news.author %></span></p> |
app/views/news/show.rhtml (working copy) | ||
---|---|---|
27 | 27 |
</div> |
28 | 28 |
<% end %> |
29 | 29 | |
30 |
<p><em><% unless @news.summary.blank? %><%=h @news.summary %><br /><% end %>
|
|
30 |
<p><em><% unless @news.summary.blank? %><%= textilizable(@news.summary) %><br /><% end %>
|
|
31 | 31 |
<span class="author"><%= authoring @news.created_on, @news.author %></span></em></p> |
32 | 32 |
<div class="wiki"> |
33 | 33 |
<%= textilizable(@news.description) %> |