summaryrefslogtreecommitdiffstats
path: root/app/views/news
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-23 10:11:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-23 10:11:08 +0000
commitb778c51e9049ca2c0d745a699db6d93d53b71175 (patch)
tree8608956d05f884b557ea3451bead74a4dc9441f0 /app/views/news
parentec201b08b3cfd1e115704abdbd7bc541a3651fe1 (diff)
downloadredmine-b778c51e9049ca2c0d745a699db6d93d53b71175.tar.gz
redmine-b778c51e9049ca2c0d745a699db6d93d53b71175.zip
Removed unneeded #h calls in views.
git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/news')
-rw-r--r--app/views/news/_news.html.erb4
-rw-r--r--app/views/news/index.html.erb2
-rw-r--r--app/views/news/show.html.erb2
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) %>