diff options
| author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-06 13:49:54 +0000 |
|---|---|---|
| committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-06 13:49:54 +0000 |
| commit | 7bc3dfa20f9f462780d811ec8c0a9bb3b4375e98 (patch) | |
| tree | 60381275b666a0f91560cd935702d644bb315b4a | |
| parent | e789e86c025b05d9532528b78cf7ec517c0649f9 (diff) | |
| download | ruby-7bc3dfa20f9f462780d811ec8c0a9bb3b4375e98.tar.gz ruby-7bc3dfa20f9f462780d811ec8c0a9bb3b4375e98.tar.xz ruby-7bc3dfa20f9f462780d811ec8c0a9bb3b4375e98.zip | |
Support https in hyperlinks
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/rdoc/generators/html_generator.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Feb 6 22:48:16 2004 Dave Thomas <dave@pragprog.com> + + * lib/rdoc/generators/html_generator.rb (gen_url): Support + https in RDoc hyperlinks + Fri Feb 6 22:41:22 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> * lib/pp.rb (PPInspectTest#test_to_s_with_iv): rollback the previous diff --git a/lib/rdoc/generators/html_generator.rb b/lib/rdoc/generators/html_generator.rb index 0016ee026..56ac2b749 100644 --- a/lib/rdoc/generators/html_generator.rb +++ b/lib/rdoc/generators/html_generator.rb @@ -211,7 +211,7 @@ module Generators :CROSSREF) # external hyperlinks - @markup.add_special(/((link:|http:|mailto:|ftp:|www\.)\S+\w)/, :HYPERLINK) + @markup.add_special(/((link:|https?:|mailto:|ftp:|www\.)\S+\w)/, :HYPERLINK) # and links of the form <text>[<url>] @markup.add_special(/\b(\S+?\[\S+?\.\S+?\])/, :TIDYLINK) |
