The input is taken from ruby/lib/rdoc/markup.rb.
