From 8aa68a455f7eab812650de016a9b18786d295a2c Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Fri, 4 Aug 2017 15:39:47 +0800 Subject: [PATCH] small fix --- app/controllers/e_papers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/e_papers_controller.rb b/app/controllers/e_papers_controller.rb index 5c1c0de..a076721 100644 --- a/app/controllers/e_papers_controller.rb +++ b/app/controllers/e_papers_controller.rb @@ -51,7 +51,7 @@ class EPapersController < ApplicationController paper = Paper.find_by(:uid => params[:uid]) topics = paper.topics.collect do |topic| - desc = strip_tags(topic.content) + desc = ActionView::Base.full_sanitizer.sanitize(topic.content) { "link_to_show" => OrbitHelper.url_to_show(topic.to_param) + "?method=showtopic", "episode" => topic.episode,