Skip to content

Commit

Permalink
no images (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
vswamidass-sfdc authored Oct 17, 2024
1 parent ff5aa2a commit 1e82d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/markdown_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1e82d2d

Please sign in to comment.