Skip to content

Commit 7af1e30

Browse files
authored
Merge pull request #881 from ruby/pz-fix-broken-links
Fix links in docs
2 parents cee7e26 + 28f3214 commit 7af1e30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: lib/rdoc/markup.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -391,16 +391,16 @@
391391
#
392392
# * The \ must be doubled if not followed by white space: \\.
393393
# * But not in \<tt> tags: in a Regexp, <tt>\S</tt> matches non-space.
394-
# * This is a link to {ruby-lang}[www.ruby-lang.org].
395-
# * This is not a link, however: \{ruby-lang.org}[www.ruby-lang.org].
394+
# * This is a link to {ruby-lang}[https://www.ruby-lang.org].
395+
# * This is not a link, however: \{ruby-lang.org}[https://www.ruby-lang.org].
396396
# * This will not be linked to \RDoc::RDoc#document
397397
#
398398
# generates:
399399
#
400400
# * The \ must be doubled if not followed by white space: \\.
401401
# * But not in \<tt> tags: in a Regexp, <tt>\S</tt> matches non-space.
402-
# * This is a link to {ruby-lang}[www.ruby-lang.org]
403-
# * This is not a link, however: \{ruby-lang.org}[www.ruby-lang.org]
402+
# * This is a link to {ruby-lang}[https://www.ruby-lang.org]
403+
# * This is not a link, however: \{ruby-lang.org}[https://www.ruby-lang.org]
404404
# * This will not be linked to \RDoc::RDoc#document
405405
#
406406
# Inside \<tt> tags, more precisely, leading backslashes are removed only if

0 commit comments

Comments
 (0)