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:
parent
8fc2fa55f9
commit
7f55b0c39e
2 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue