Permalink
Browse files

raw + html5 semantics

  • Loading branch information...
1 parent eed054b commit 3c91b1b5d21a032ea46f6cafb0c206d22c4677d9 @joemsak joemsak committed Sep 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/search/show.html.erb
@@ -9,7 +9,7 @@
<span class='result_type'>
<%= result.class.to_s.titleize %>
</span>
- <%= link_to result.title.gsub(/(#{params[:query]})/i,'<strong>\1</strong>'), result_url(result) %>
+ <%= link_to raw(result.title.gsub(/(#{params[:query]})/i,'<mark>\1</mark>')), result_url(result) %>
</li>
<% end %>
</ul>

0 comments on commit 3c91b1b

Please sign in to comment.