From 32eea3dbdd07a35693204d7b4ed63a0db7dd168a Mon Sep 17 00:00:00 2001 From: zmagod Date: Wed, 23 Nov 2016 14:24:51 +0100 Subject: [PATCH] adds autolink to result comments --- app/views/result_comments/_comment.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/result_comments/_comment.html.erb b/app/views/result_comments/_comment.html.erb index aa7e3ec4b..39fbff15c 100644 --- a/app/views/result_comments/_comment.html.erb +++ b/app/views/result_comments/_comment.html.erb @@ -40,5 +40,7 @@ <% end %>
-

<%= comment.message %>

-
\ No newline at end of file +

<%= auto_link(simple_format(comment.message), + link: :urls, + html: { target: '_blank' }) %>

+