module RDoc::Text
def parse text
def parse text return text if RDoc::Markup::Document === text text = normalize_comment text return RDoc::Markup::Document.new if text =~ /\A\n*\z/ RDoc::Markup::Parser.parse text 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: tp://rubyforge.org/tracker/?atid=2472&group_id=627&func=browse EOF raise end