Commit 0bc30b6
committed
js: switch type-matching regex to \b
The old regex only accept "type\n" as a hotlink "target", so it
fails to link non-pointee types correctly — `git_oid *` never happens, while `git_oid` does. Hence, make the regex use word boundaries to match types to cater for those cases.1 parent 547279f commit 0bc30b6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
606 | | - | |
| 606 | + | |
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
| |||
0 commit comments