From 0752ebf1f32f24d855ee43eef1214c1330b2b49b Mon Sep 17 00:00:00 2001 From: joshua stein Date: Fri, 7 Sep 2012 17:21:39 -0500 Subject: [PATCH] disable markdown images --- extras/markdowner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/markdowner.rb b/extras/markdowner.rb index 2829955..76a72e5 100644 --- a/extras/markdowner.rb +++ b/extras/markdowner.rb @@ -4,7 +4,7 @@ class Markdowner return "" else html = RDiscount.new(text.to_s, :smart, :autolink, :safelink, - :filter_styles, :filter_html).to_html + :filter_styles, :filter_html, :no_image).to_html # change

headings to just emphasis tags html.gsub!(/<(\/)?h(\d)>/) {|_| "<#{$1}strong>" }