Skip to content

Commit 319bd4c

Browse files
committed
[htmlify] L<&foo> always links to a routine
1 parent 80689f3 commit 319bd4c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

htmlify.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
return $_ if m{^ <[a..z]>+ '://'};
1616
return "/type/$_" if m/^<[A..Z]>/;
1717
return "/routine/$_" if m/^<[a..z]>/;
18+
# poor man's <identifier>
19+
if m/ ^ '&'( \w <[[\w'-]>* ) $/ {
20+
return "/routine/$0";
21+
}
1822
return $_;
1923
}
2024

0 commit comments

Comments
 (0)