class RDoc::Markup

def self.parse str

def self.parse str
  RDoc::Markup::Parser.parse str
rescue RDoc::Markup::Parser::Error => e
  $stderr.puts <<-EOF
ile parsing markup, RDoc encountered a #{e.class}:
e}
from #{e.backtrace.join "\n\tfrom "}
-8<---
text}
-8<---
oc #{RDoc::VERSION}
by #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} #{RUBY_RELEASE_DATE}
ease file a bug report with the above information at:
tps://github.com/ruby/rdoc/issues
  EOF
  raise
end