Skip to content

Commit

Permalink
use correct rdoc markup class for modern rdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
cldwalker committed Aug 3, 2011
1 parent 0de5f54 commit f0554ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/rubygems_helper.rb
Expand Up @@ -9,7 +9,7 @@ def link_to_directory

def simple_markup(text)
if text =~ /^==+ [A-Z]/
SM::SimpleMarkup.new.convert(text, SM::ToHtml.new).html_safe
RDoc::Markup.new.convert(text, RDoc::Markup::ToHtml.new).html_safe
else
content_tag :p, text
end
Expand Down

0 comments on commit f0554ac

Please sign in to comment.