adds autolink to result comments

This commit is contained in:
zmagod 2016-11-23 14:24:51 +01:00
parent fafecce264
commit 32eea3dbdd

View file

@ -40,5 +40,7 @@
<% end %>
</div>
<div data-role="comment-message-container">
<p data-role="comment-message"><%= comment.message %></p>
</div>
<p data-role="comment-message"><%= auto_link(simple_format(comment.message),
link: :urls,
html: { target: '_blank' }) %></p>
</div>