diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 01be567d5..40dd92b62 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -22,46 +22,20 @@ module ApplicationHelper end def markdown(text) + # See https://github.com/vmg/redcarpet for options render_options = { - # will remove from the output HTML tags inputted by user filter_html: false, - # will insert
tags in paragraphs where are newlines - # (ignored by default) hard_wrap: true, - # hash for extra link options, for example 'nofollow' link_attributes: { } - # more - # will remove tags from output - # no_images: true - # will remove tags from output - # no_links: true - # will remove