diff options
| author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-27 23:02:52 +0000 |
|---|---|---|
| committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-27 23:02:52 +0000 |
| commit | 358677cfb8c153e78092499e7430a749cf7801f4 (patch) | |
| tree | 868feb7d3626fc5262db39c1b09b4496f258fcb2 /lib | |
| parent | 0e59dc66576b97322e7426fede56954184028777 (diff) | |
| download | ruby-358677cfb8c153e78092499e7430a749cf7801f4.tar.gz ruby-358677cfb8c153e78092499e7430a749cf7801f4.tar.xz ruby-358677cfb8c153e78092499e7430a749cf7801f4.zip | |
Don't unescape HTML in HtmlFormatter. Submitted by Kent Sibilev
<ksruby at gmail.com>. [ruby-core:08392].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -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 56a1fb466..34eb561ca 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 |
