diff --git a/app/helpers/markdown_helper.rb b/app/helpers/markdown_helper.rb index 2dc38c5..f1a9d0f 100644 --- a/app/helpers/markdown_helper.rb +++ b/app/helpers/markdown_helper.rb @@ -77,7 +77,7 @@ def list(content, list_type) module MarkdownHelper def render_markdown(text) - renderer = CustomRender.new(escape_html: true) + renderer = CustomRender.new(escape_html: true, no_images: true) # renderer = Redcarpet::Render::HTML.new(hard_wrap: true) markdown = Redcarpet::Markdown.new(renderer, fenced_code_blocks: true, tables: true)