mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc/markup/to_html_crossref.rb: fix failure of the test.
[ruby-core:20564] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
155e42c50e
commit
ad38805490
2 changed files with 6 additions and 1 deletions
|
@ -65,7 +65,7 @@ class RDoc::Markup::ToHtmlCrossref < RDoc::Markup::ToHtml
|
|||
# The key thing is that there must be at least
|
||||
# one special character (period, slash, or
|
||||
# underscore).
|
||||
| [\/\w]+[_\/\.][\w\/\.]+
|
||||
| (?:\.\.\/)*[-\/\w]+[_\/\.][-\w\/\.]+
|
||||
|
||||
# Things that have markup suppressed
|
||||
| \\[^\s]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue