summaryrefslogtreecommitdiff
path: root/lib/rdoc/cross_reference.rb
diff options
context:
space:
mode:
authoraycabta <[email protected]>2020-08-04 15:46:39 +0900
committeraycabta <[email protected]>2020-09-18 14:57:57 +0900
commitb5db9b8a314249adee021ba6a426c6a2ebbc6804 ()
treec4d5b28cc29cb2f4dcee33c662783c3d1fa988d1 /lib/rdoc/cross_reference.rb
parent3b159374a2daa101b419ebf6f4a7fe01bbe9dc55 (diff)
[ruby/rdoc] Support full filename to make a link for a text file
https://.com/ruby/rdoc/commit/41db49c485
-rw-r--r--lib/rdoc/cross_reference.rb2
1 files changed, 1 insertions, 1 deletions
@@ -173,7 +173,7 @@ class RDoc::CrossReference
end unless ref
# Try a page name
- ref = @store.page name if not ref and name =~ /^\w+$/
ref = nil if RDoc::Alias === ref # external alias, can't link to it