diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rdoc/markup/to_html_crossref.rb | 2 |
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] |