diff --git a/lib/github/markup/markdown.rb b/lib/github/markup/markdown.rb index 8ad9722f..f2744ca3 100644 --- a/lib/github/markup/markdown.rb +++ b/lib/github/markup/markdown.rb @@ -8,7 +8,7 @@ class Markdown < Implementation GitHub::Markdown.render(content) }, "redcarpet" => proc { |content| - RedcarpetCompat.new(content).to_html + Redcarpet::Markdown.new(Redcarpet::Render::HTML).render(content) }, "rdiscount" => proc { |content| RDiscount.new(content).to_html