From db41b6668a71d03c94ed3df4774e409ff8cb7e40 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Fri, 6 May 2016 09:24:56 -0300 Subject: [PATCH] html safe fix for plugin script --- lib/insight_plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/insight_plugin.rb b/lib/insight_plugin.rb index efb6795..dbda3f8 100644 --- a/lib/insight_plugin.rb +++ b/lib/insight_plugin.rb @@ -12,7 +12,7 @@ class InsightPlugin < Noosfero::Plugin domain = context.environment.insight_domain code = context.environment.insight_code unless domain.blank? || code.blank? - expanded_template('insight-code.rhtml',{:domain => domain, :code => code}) + expanded_template('insight-code.rhtml',{:domain => domain, :code => code}).html_safe end end -- libgit2 0.21.2