lib/github/markup/rdoc.rb in github-markup-1.4.4 vs lib/github/markup/rdoc.rb in github-markup-1.4.6
- old
+ new
@@ -4,10 +4,10 @@
module GitHub
module Markup
class RDoc < Implementation
def initialize
- super /rdoc/
+ super([Linguist::Language["RDoc"]])
end
def render(content)
if ::RDoc::VERSION.to_i >= 4
h = ::RDoc::Markup::ToHtml.new(::RDoc::Options.new)