Commit fca8659a89d9a7d460c0597b326eaabdc8fe81f4

Authored by Rodrigo Souto
2 parents e7aa3273 c95a33e7

Merge branch 'stable'

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
app/helpers/boxes_helper.rb
@@ -100,7 +100,9 @@ module BoxesHelper @@ -100,7 +100,9 @@ module BoxesHelper
100 options[:title] = _("This block is invisible. Your visitors will not see it.") 100 options[:title] = _("This block is invisible. Your visitors will not see it.")
101 end 101 end
102 102
103 - result = filter_html(result, block) 103 + if @controller.send(:content_editor?)
  104 + result = filter_html(result, block)
  105 + end
104 106
105 box_decorator.block_target(block.box, block) + 107 box_decorator.block_target(block.box, block) +
106 content_tag('div', 108 content_tag('div',