summaryrefslogtreecommitdiffstats
path: root/app/views/search
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-10 16:22:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-10 16:22:26 +0000
commit8b12702ebef20e54987673d898f8d261a317db02 (patch)
treeaa66e76b414b602402f98554c377b1fb03228701 /app/views/search
parentcbfafcd5e2442ada23f655eba21cb600476228ac (diff)
downloadredmine-8b12702ebef20e54987673d898f8d261a317db02.tar.gz
redmine-8b12702ebef20e54987673d898f8d261a317db02.zip
Fixed that search results are escaped twice.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10185 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/search')
-rw-r--r--app/views/search/index.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb
index bf3951263..d4d671aa9 100644
--- a/app/views/search/index.html.erb
+++ b/app/views/search/index.html.erb
@@ -29,8 +29,8 @@
<h3><%= l(:label_result_plural) %> (<%= @results_by_type.values.sum %>)</h3>
<dl id="search-results">
<% @results.each do |e| %>
- <dt class="<%= e.event_type %>"><%= content_tag('span', h(e.project), :class => 'project') unless @project == e.project %> <%= link_to highlight_tokens(truncate(h(e.event_title), :length => 255), @tokens), e.event_url %></dt>
- <dd><span class="description"><%= highlight_tokens(h(e.event_description), @tokens) %></span>
+ <dt class="<%= e.event_type %>"><%= content_tag('span', h(e.project), :class => 'project') unless @project == e.project %> <%= link_to highlight_tokens(truncate(e.event_title, :length => 255), @tokens), e.event_url %></dt>
+ <dd><span class="description"><%= highlight_tokens(e.event_description, @tokens) %></span>
<span class="author"><%= format_time(e.event_datetime) %></span></dd>
<% end %>
</dl>