28 Mar 2006 05:12
RDoc bug fix [3863] - URL matching
Chris Alfeld <chris.alfeld <at> gmail.com>
2006-03-28 03:12:50 GMT
2006-03-28 03:12:50 GMT
RDoc does not correctly recognize URLs with trailing /'s, such as http://foo.net/a/b/c/ The following patch fixes this problem. This fixes bug 3863 on the rubyforge rdoc bug tracker. http://rubyforge.org/tracker/?atid=2472&group_id=627&func=browse If this is not the correct manner to submit this patch then please advise. Index: lib/rdoc/generators/html_generator.rb =================================================================== RCS file: /src/ruby/lib/rdoc/generators/html_generator.rb,v retrieving revision 1.22 diff -r1.22 html_generator.rb 219c219 < <at> markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+\w)/, :HYPERLINK) --- > <at> markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+[\w\/])/, :HYPERLINK)
RSS Feed