mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/rdoc] Fix links in docs
www.ruby-lang.org without the leading https:// will generate an incorrect link because it will be treated as a relative link. https://github.com/ruby/rdoc/commit/28f32149b6
This commit is contained in:
parent
307cb57ba6
commit
92614111c0
1 changed files with 4 additions and 4 deletions
|
@ -391,16 +391,16 @@
|
|||
#
|
||||
# * The \ must be doubled if not followed by white space: \\.
|
||||
# * But not in \<tt> tags: in a Regexp, <tt>\S</tt> matches non-space.
|
||||
# * This is a link to {ruby-lang}[www.ruby-lang.org].
|
||||
# * This is not a link, however: \{ruby-lang.org}[www.ruby-lang.org].
|
||||
# * This is a link to {ruby-lang}[https://www.ruby-lang.org].
|
||||
# * This is not a link, however: \{ruby-lang.org}[https://www.ruby-lang.org].
|
||||
# * This will not be linked to \RDoc::RDoc#document
|
||||
#
|
||||
# generates:
|
||||
#
|
||||
# * The \ must be doubled if not followed by white space: \\.
|
||||
# * But not in \<tt> tags: in a Regexp, <tt>\S</tt> matches non-space.
|
||||
# * This is a link to {ruby-lang}[www.ruby-lang.org]
|
||||
# * This is not a link, however: \{ruby-lang.org}[www.ruby-lang.org]
|
||||
# * This is a link to {ruby-lang}[https://www.ruby-lang.org]
|
||||
# * This is not a link, however: \{ruby-lang.org}[https://www.ruby-lang.org]
|
||||
# * This will not be linked to \RDoc::RDoc#document
|
||||
#
|
||||
# Inside \<tt> tags, more precisely, leading backslashes are removed only if
|
||||
|
|
Loading…
Reference in a new issue