diff options
Diffstat (limited to 'app/views/news')
-rw-r--r-- | app/views/news/_news.html.erb | 4 | ||||
-rw-r--r-- | app/views/news/index.html.erb | 2 | ||||
-rw-r--r-- | app/views/news/show.html.erb | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/news/_news.html.erb b/app/views/news/_news.html.erb index cc83d2a9e..391d9a900 100644 --- a/app/views/news/_news.html.erb +++ b/app/views/news/_news.html.erb @@ -1,6 +1,6 @@ <p><%= link_to_project(news.project) + ': ' unless @project %> -<%= link_to h(news.title), news_path(news) %> +<%= link_to news.title, news_path(news) %> <% if news.comments_count > 0 %><span class="comments">(<%= l(:label_x_comments, :count => news.comments_count) %>)</span><% end %> <br /> -<% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %> +<% unless news.summary.blank? %><span class="summary"><%= news.summary %></span><br /><% end %> <span class="author"><%= authoring news.created_on, news.author %></span></p> diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb index 614a7b1f7..4560ac4fd 100644 --- a/app/views/news/index.html.erb +++ b/app/views/news/index.html.erb @@ -25,7 +25,7 @@ <% else %> <% @newss.each do |news| %> <h3><%= avatar(news.author, :size => "24") %><%= link_to_project(news.project) + ': ' unless news.project == @project %> - <%= link_to h(news.title), news_path(news) %> + <%= link_to news.title, news_path(news) %> <%= "(#{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"> diff --git a/app/views/news/show.html.erb b/app/views/news/show.html.erb index d359e90b9..c188d2e2c 100644 --- a/app/views/news/show.html.erb +++ b/app/views/news/show.html.erb @@ -23,7 +23,7 @@ </div> <% end %> -<p><% unless @news.summary.blank? %><em><%=h @news.summary %></em><br /><% end %> +<p><% unless @news.summary.blank? %><em><%= @news.summary %></em><br /><% end %> <span class="author"><%= authoring @news.created_on, @news.author %></span></p> <div class="wiki"> <%= textilizable(@news, :description) %> |