Skip to content

Commit 548d4d1

Browse files
committed
Make (#methodname) a link with --hyperlink-all option
1 parent 450fd05 commit 548d4d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rdoc/cross_reference.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class RDoc::CrossReference
7676
# Version of CROSSREF_REGEXP used when <tt>--hyperlink-all</tt> is specified.
7777

7878
ALL_CROSSREF_REGEXP = /
79-
(?:^|\s)
79+
(?:^|[\s()])
8080
(
8181
(?:
8282
# A::B::C.meth

0 commit comments

Comments
 (0)