From f69890687ae4a1c7d3f61f87089c9f40c6ba5df3 Mon Sep 17 00:00:00 2001 From: jiaowagn Date: Mon, 14 Aug 2017 22:36:05 +0800 Subject: [PATCH 1/9] sanitize events#show page's comment --- app/views/events/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/events/show.html.erb b/app/views/events/show.html.erb index 0e89067..14feb24 100644 --- a/app/views/events/show.html.erb +++ b/app/views/events/show.html.erb @@ -22,7 +22,7 @@
- <%= raw comment.content %> + <%= sanitize comment.content %>