diff --git a/app/helpers/merged/merged_helper.rb b/app/helpers/merged/merged_helper.rb index 3641584..8c84dc5 100644 --- a/app/helpers/merged/merged_helper.rb +++ b/app/helpers/merged/merged_helper.rb @@ -13,6 +13,7 @@ module Merged end def markdown_image(section) + return "" unless section.text down = self.renderer.render(section.text) image = image_for(section) down.gsub("IMAGE" , image).html_safe