# File lib/rdoc/markup/to_html.rb, line 191 def accept_verbatim verbatim text = verbatim.text.rstrip @res << if verbatim.ruby? or parseable? text then options = RDoc::RDoc.current.options if RDoc::RDoc.current begin tokens = RDoc::RubyLex.tokenize text, options "\n<pre class=\"ruby\">" \ "#{RDoc::TokenStream.to_html tokens}" \ "</pre>\n" rescue RDoc::RubyLex::Error "\n<pre>#{CGI.escapeHTML text}</pre>\n" end else "\n<pre>#{CGI.escapeHTML text}</pre>\n" end end