From ea29ebc4aeaac151bbac95c9398998ce3f2a5d0f Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Thu, 5 May 2016 17:07:26 -0300 Subject: [PATCH] fix html escape of comment title --- app/views/comment/_comment.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/comment/_comment.html.erb b/app/views/comment/_comment.html.erb index 58cd200..71c1aa6 100644 --- a/app/views/comment/_comment.html.erb +++ b/app/views/comment/_comment.html.erb @@ -38,7 +38,7 @@
<%= show_time(comment.created_at) %>
-

<%= comment.title.blank? && ' ' || comment.title %>

+

<%= comment.title.blank? && ' '.html_safe || comment.title %>

<%= txt2html comment.body %> -- libgit2 0.21.2