From 7bc3dfa20f9f462780d811ec8c0a9bb3b4375e98 Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 6 Feb 2004 13:49:54 +0000 Subject: Support https in hyperlinks git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/generators/html_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 [] @markup.add_special(/\b(\S+?\[\S+?\.\S+?\])/, :TIDYLINK) -- cgit