@@ -28,8 +28,8 | |||||
28 | <h3><%= l(:label_result_plural) %> (<%= @results_by_type.values.sum %>)</h3> |
|
28 | <h3><%= l(:label_result_plural) %> (<%= @results_by_type.values.sum %>)</h3> | |
29 | <dl id="search-results"> |
|
29 | <dl id="search-results"> | |
30 | <% @results.each do |e| %> |
|
30 | <% @results.each do |e| %> | |
31 | <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> |
|
31 | <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> | |
32 | <dd><span class="description"><%= highlight_tokens(e.event_description, @tokens) %></span> |
|
32 | <dd><span class="description"><%= highlight_tokens(h(e.event_description), @tokens) %></span> | |
33 | <span class="author"><%= format_time(e.event_datetime) %></span></dd> |
|
33 | <span class="author"><%= format_time(e.event_datetime) %></span></dd> | |
34 | <% end %> |
|
34 | <% end %> | |
35 | </dl> |
|
35 | </dl> |
General Comments 0
You need to be logged in to leave comments.
Login now