ri doesn't escape <,>, &, etc. characters when used with html formatter like

$ ri -f html ERB

This patch fixes it.

Index: lib/rdoc/ri/ri_formatter.rb
===================================================================
RCS file: /src/ruby/lib/rdoc/ri/ri_formatter.rb,v
retrieving revision 1.4.2.10
diff -u -r1.4.2.10 ri_formatter.rb
--- lib/rdoc/ri/ri_formatter.rb	26 Jun 2006 20:44:14 -0000	1.4.2.10
+++ lib/rdoc/ri/ri_formatter.rb	25 Jul 2006 13:52:13 -0000
@@ -555,7 +555,7 @@
     def display_verbatim_flow_item(item, prefix=@indent)
         print("<pre>")
         item.body.split(/\n/).each do |line|
-          puts conv_html(line)
+          puts line
         end
         puts("</pre>")
     end

-- 
Kent
---
http://www.datanoise.com