Commit fca8659a89d9a7d460c0597b326eaabdc8fe81f4
Exists in
master
and in
29 other branches
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 | 100 | options[:title] = _("This block is invisible. Your visitors will not see it.") |
101 | 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 | 107 | box_decorator.block_target(block.box, block) + |
106 | 108 | content_tag('div', | ... | ... |