From 75a60a817427d0aa6c632d8d21ef14ae1f97a3ef Mon Sep 17 00:00:00 2001 From: drbrain Date: Fri, 4 Aug 2006 19:07:41 +0000 Subject: [PATCH] Leave HTML escaped for HtmlFormatter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/ri/ri_formatter.rb | 4 +--- 1 file changed, 1 insertion(+), 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("
")
-        item.body.split(/\n/).each do |line|
-          puts conv_html(line)
-        end
+        puts item.body
         puts("
") end