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 --- ChangeLog | 5 +++++ lib/rdoc/generators/html_generator.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 500b858dca..b32687766b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 6 22:48:16 2004 Dave Thomas + + * lib/rdoc/generators/html_generator.rb (gen_url): Support + https in RDoc hyperlinks + Fri Feb 6 22:41:22 2004 NAKAMURA, Hiroshi * 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 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