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
< @markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+\w)/,
:HYPERLINK)
---
> @markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+[\w\/])/,
> :HYPERLINK)
rdoc3863.patch
Description: Binary data
|