]> source.dussan.org Git - redmine.git/commitdiff
Enable attached images to be displayed inline on the news list.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jan 2012 22:42:12 +0000 (22:42 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 29 Jan 2012 22:42:12 +0000 (22:42 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8729 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/news/index.html.erb

index d0370c03f82e14cfd1aef6f0ff622b2c58201c4a..b839b5f4450e901c4acdb89d1fc6c454c71e1c34 100644 (file)
@@ -33,7 +33,7 @@
     <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %></h3>
     <p class="author"><%= authoring news.created_on, news.author %></p>
     <div class="wiki">
-    <%= textilizable(news.description) %>
+    <%= textilizable(news, :description) %>
     </div>
 <% end %>
 <% end %>