diff --git a/app/helpers/boxes_helper.rb b/app/helpers/boxes_helper.rb index 6f08a83..7bf7a74 100644 --- a/app/helpers/boxes_helper.rb +++ b/app/helpers/boxes_helper.rb @@ -100,7 +100,9 @@ module BoxesHelper options[:title] = _("This block is invisible. Your visitors will not see it.") end - result = filter_html(result, block) + if @controller.send(:content_editor?) + result = filter_html(result, block) + end box_decorator.block_target(block.box, block) + content_tag('div', -- libgit2 0.21.2