8000 Merge pull request #387 from pchaigno/redcarpetcompat · github/markup@4c23636 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4c23636

Browse files
committed
Merge pull request #387 from pchaigno/redcarpetcompat
Replace the deprecated RedcarpetCompat instance
2 parents 659e192 + 50befce commit 4c23636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/github/markup/markdown.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Markdown < Implementation
88
GitHub::Markdown.render(content)
99
},
1010
"redcarpet" => proc { |content|
11-
RedcarpetCompat.new(content).to_html
11+
Redcarpet::Markdown.new(Redcarpet::Render::HTML).render(content)
1212
},
1313
"rdiscount" => proc { |content|
1414
RDiscount.new(content).to_html

0 commit comments

Comments
 (0)
0