diff --git a/app/views/comment/_comment.html.erb b/app/views/comment/_comment.html.erb index 4e7aba4..1b02084 100644 --- a/app/views/comment/_comment.html.erb +++ b/app/views/comment/_comment.html.erb @@ -38,10 +38,10 @@
<%= show_time(comment.created_at) %>
-

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

+

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

- <%= txt2html comment.body %> + <%= txt2html sanitize(comment.body) %>

<%= @plugins.dispatch(:comment_extra_contents, local_assigns).collect { |content| instance_exec(&content) }.join("") %> -- libgit2 0.21.2