diff --git a/app/views/search/index.rhtml b/app/views/search/index.rhtml
index 606565c90..08acb2857 100644
--- a/app/views/search/index.rhtml
+++ b/app/views/search/index.rhtml
@@ -28,8 +28,8 @@
<%= l(:label_result_plural) %> (<%= @results_by_type.values.sum %>)
<% @results.each do |e| %>
- - <%= 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 %>
- - <%= highlight_tokens(e.event_description, @tokens) %>
+
- <%= 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 %>
+ - <%= highlight_tokens(h(e.event_description), @tokens) %>
<%= format_time(e.event_datetime) %>
<% end %>