From 0abe9a7fd9a3cdd03428c5c720683ec333949143 Mon Sep 17 00:00:00 2001 From: Ana Date: Sun, 6 Dec 2015 18:06:01 +0100 Subject: [PATCH] Eliminated explanation comments about redcarpet options --- app/helpers/application_helper.rb | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) 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