From 982d6bc748e7090dcd8abc27d061e6d6a83b80ba Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 24 Dec 2008 11:44:55 +0000 Subject: [PATCH] Merged r2168 and r2169 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.7-stable@2175 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_sidebar.rhtml | 2 +- app/views/wiki/annotate.rhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/issues/_sidebar.rhtml b/app/views/issues/_sidebar.rhtml index e94d4180b..a2dc603dd 100644 --- a/app/views/issues/_sidebar.rhtml +++ b/app/views/issues/_sidebar.rhtml @@ -9,6 +9,6 @@

<%= l(:label_query_plural) %>

<% sidebar_queries.each do |query| -%> -<%= link_to query.name, :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query %>
+<%= link_to(h(query.name), :controller => 'issues', :action => 'index', :project_id => @project, :query_id => query) %>
<% end -%> <% end -%> diff --git a/app/views/wiki/annotate.rhtml b/app/views/wiki/annotate.rhtml index 1c683404b..c27451606 100644 --- a/app/views/wiki/annotate.rhtml +++ b/app/views/wiki/annotate.rhtml @@ -20,7 +20,7 @@ <%= line_num %> <%= link_to line[0], :controller => 'wiki', :action => 'index', :id => @project, :page => @page.title, :version => line[0] %> <%= h(line[1]) %> -
<%= line[2] %>
+
<%=h line[2] %>
<% line_num += 1 %> <% end -%>