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 | 7f55b0c39ec801aa852824bf8b10c2f741a148bf (patch) | |
tree | 60381275b666a0f91560cd935702d644bb315b4a /lib | |
parent | 8fc2fa55f975045fbba58ae79a53dc6e3b6c77c3 (diff) | |
download | ruby-7f55b0c39ec801aa852824bf8b10c2f741a148bf.tar.gz |
Support https in hyperlinks
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rdoc/generators/html_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/generators/html_generator.rb b/lib/rdoc/generators/html_generator.rb index 0016ee026b..56ac2b7499 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) |