summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-23 15:11:20 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-01-23 15:11:20 +0000
commitad3880549038c18235538054fb8224ae7e0c80ee (patch)
tree3b3d31838da5df096c92b12d9529b5db30733804 /lib
parent155e42c50e14c03c07763d0b4ede1633c420c164 (diff)
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/rdoc/markup/to_html_crossref.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/markup/to_html_crossref.rb b/lib/rdoc/markup/to_html_crossref.rb
index e73fbf5c8f..930218bb7e 100644
--- a/lib/rdoc/markup/to_html_crossref.rb
+++ b/lib/rdoc/markup/to_html_crossref.rb
@@ -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]