diff --git a/app/views/pages/_comments.html.erb b/app/views/pages/_comments.html.erb index ff43c22..4b72645 100644 --- a/app/views/pages/_comments.html.erb +++ b/app/views/pages/_comments.html.erb @@ -6,7 +6,7 @@ <% if allowed_to?(:delete_comment, comment) -%><% end -%>
- <%= position + 1 -%>. <%= (comment.url.blank?) ? h(comment.name) : "#{h(comment.name)}" %> + <%= position + 1 -%>. <%= (comment.url.blank? or comment.url !~ /^http/i) ? h(comment.name) : "#{h(comment.name)}" %> said <%= time_lost_in_words comment.page.created_at, comment.created_at %> later: