diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-04 19:07:41 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-04 19:07:41 +0000 |
commit | 75a60a817427d0aa6c632d8d21ef14ae1f97a3ef (patch) | |
tree | d35af0b7b58f1f8548dbb6ddac66f3253b550c55 /lib/rdoc | |
parent | 2311929dd170de91319b0e6bd0fee910f6d2c551 (diff) | |
download | ruby-75a60a817427d0aa6c632d8d21ef14ae1f97a3ef.tar.gz |
Leave HTML escaped for HtmlFormatter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/ri/ri_formatter.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rdoc/ri/ri_formatter.rb b/lib/rdoc/ri/ri_formatter.rb index 56a1fb4665..34eb561ca3 100644 --- a/lib/rdoc/ri/ri_formatter.rb +++ b/lib/rdoc/ri/ri_formatter.rb @@ -554,9 +554,7 @@ module RI def display_verbatim_flow_item(item, prefix=@indent) print("<pre>") - item.body.split(/\n/).each do |line| - puts conv_html(line) - end + puts item.body puts("</pre>") end |