From 7f55b0c39ec801aa852824bf8b10c2f741a148bf 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: svn+ssh://ci.ruby-lang.org/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 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 [] @markup.add_special(/\b(\S+?\[\S+?\.\S+?\])/, :TIDYLINK) -- cgit v1.2.3