Commit 81fd61af49de87e75c5bae6cb78cdc9089fe1a6e

Authored by Rodrigo Souto
1 parent ffb7fba6

Html_safe on the raw_html_block

The problem only happens on production environment...

(ActionItem2658)
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/raw_html_block.rb
... ... @@ -7,7 +7,7 @@ class RawHTMLBlock < Block
7 7 settings_items :html, :type => :text
8 8  
9 9 def content(args={})
10   - (title.blank? ? '' : block_title(title)) + html.to_s
  10 + (title.blank? ? '' : block_title(title)).html_safe + html.to_s.html_safe
11 11 end
12 12  
13 13 end
... ...