Commit db41b6668a71d03c94ed3df4774e409ff8cb7e40

Authored by Leandro Santos
1 parent 1f9bf65e
Exists in master

html safe fix for plugin script

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/insight_plugin.rb
@@ -12,7 +12,7 @@ class InsightPlugin < Noosfero::Plugin @@ -12,7 +12,7 @@ class InsightPlugin < Noosfero::Plugin
12 domain = context.environment.insight_domain 12 domain = context.environment.insight_domain
13 code = context.environment.insight_code 13 code = context.environment.insight_code
14 unless domain.blank? || code.blank? 14 unless domain.blank? || code.blank?
15 - expanded_template('insight-code.rhtml',{:domain => domain, :code => code}) 15 + expanded_template('insight-code.rhtml',{:domain => domain, :code => code}).html_safe
16 end 16 end
17 end 17 end
18 18