1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Support https in hyperlinks

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
dave 2004-02-06 13:49:54 +00:00
parent 8fc2fa55f9
commit 7f55b0c39e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Feb 6 22:48:16 2004 Dave Thomas <dave@pragprog.com>
* lib/rdoc/generators/html_generator.rb (gen_url): Support
https in RDoc hyperlinks
Fri Feb 6 22:41:22 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> Fri Feb 6 22:41:22 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* lib/pp.rb (PPInspectTest#test_to_s_with_iv): rollback the previous * lib/pp.rb (PPInspectTest#test_to_s_with_iv): rollback the previous

View file

@ -211,7 +211,7 @@ module Generators
:CROSSREF) :CROSSREF)
# external hyperlinks # 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>] # and links of the form <text>[<url>]
@markup.add_special(/\b(\S+?\[\S+?\.\S+?\])/, :TIDYLINK) @markup.add_special(/\b(\S+?\[\S+?\.\S+?\])/, :TIDYLINK)