Commit 81fd61af49de87e75c5bae6cb78cdc9089fe1a6e
1 parent
ffb7fba6
Exists in
master
and in
29 other branches
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 +7,7 @@ class RawHTMLBlock < Block | ||
7 | settings_items :html, :type => :text | 7 | settings_items :html, :type => :text |
8 | 8 | ||
9 | def content(args={}) | 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 | end | 11 | end |
12 | 12 | ||
13 | end | 13 | end |