Commit 2a82af5f6fc1e2e3558ffae3f922145c59b30c8d
1 parent
f8ed5a33
Exists in
master
and in
28 other branches
Reverting c0f97fc83 since it breaks the admin features panel
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', |