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