lib/yard/server/templates/doc_server/search/html/search.erb in yard-0.6.8 vs lib/yard/server/templates/doc_server/search/html/search.erb in yard-0.7.0
- old
+ new
@@ -5,10 +5,10 @@
<% n = 1 %>
<% @visible_results.each do |result| %>
<% name = result.type == :method ? result.name(true).to_s : result.name.to_s %>
<% path = name.gsub(/(#{Regexp.quote @query})/i, '<strong>\1</strong>') %>
<li class="r<%= n %>">
- <a href="<%= serializer.serialized_path(result) %>"
+ <a href="<%= serializer.serialized_path(result) %>"
title="<%= result.path %>"><%= path %></a>
<% if !result.namespace.root? %>
<small>(<%= result.namespace.path %>)</small>
<% end %>
</li>