From 3bc244abc1800c7617cbfbbe1dd2597053a638c9 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 13 Apr 2018 16:12:35 -0700 Subject: [PATCH] Content has already been through a whitelist --- lib/active_text/content.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/active_text/content.rb b/lib/active_text/content.rb index 8bc2356060..0e97374ded 100644 --- a/lib/active_text/content.rb +++ b/lib/active_text/content.rb @@ -54,7 +54,7 @@ module ActiveText end def to_s - to_html + to_html.html_safe end def as_json(*)