Skip to content

Commit a7aab6d

Browse files
committed
Now 'routine_'-like links are fine, just like 'method_'-like links
1 parent 6f34839 commit a7aab6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

htmlify.p6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,8 @@ sub write-kind($kind) {
913913
pod-heading("{.origin.human-kind} {.origin.name}"),
914914
pod-block("From ",
915915
pod-link(.origin.name,
916-
.origin.url ~ '#' ~ (.subkinds~'_' if .subkinds ~~ /fix/) ~ "method_" ~ .name),
916+
.origin.url ~ '#' ~ (.subkinds~'_' if .subkinds ~~ /fix/) ~
917+
($subkind eq 'sub' ?? 'routine_' !! 'method_') ~ .name),
917918
),
918919
.pod.list,
919920
})

0 commit comments

Comments
 (0)