summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-06 13:49:54 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-06 13:49:54 +0000
commit7bc3dfa20f9f462780d811ec8c0a9bb3b4375e98 (patch)
tree60381275b666a0f91560cd935702d644bb315b4a /lib
parente789e86c025b05d9532528b78cf7ec517c0649f9 (diff)
downloadruby-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
Diffstat (limited to 'lib')
-rw-r--r--lib/rdoc/generators/html_generator.rb2
1 files changed, 1 insertions, 1 deletions
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)