Fix search description for step

This commit is contained in:
Jure Grabnar 2019-07-25 14:15:45 +02:00
parent f44404a1f8
commit 11b3b7b4e9

View file

@ -8,7 +8,10 @@
<p>
<span>
<%=t "search.index.description" %>
<%= highlight step.description, search_query.strip.split(/\s+/) %>
<%= highlight custom_auto_link(step.tinymce_render(:description),
simple_format: false,
tags: %w(img),
team: current_team), search_query.strip.split(/\s+/) %>
</span>
<p>
<% end %>