Skip to content

Commit

Permalink
[api] fixing a harmful typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ancorgs authored and coolo committed Oct 22, 2013
1 parent 93e7b36 commit cca1b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/webui/app/views/webui/search/_results.html.erb
Expand Up @@ -23,7 +23,7 @@
<% if result.description.empty? %>
<p class="data-description">...</p>
<% else %>
<% desc = truncate(result.description, lenght: 80) %>
<% desc = truncate(result.description, length: 80) %>
<p class="data-description">
<% desc.split(/\n/).each do |line| -%>
<%= highlight(line, @search_text, highlighter: '<b>\1</b>') %>
Expand Down

0 comments on commit cca1b09

Please sign in to comment.