Skip to content

Commit

Permalink
[htmlify] L<&foo> always links to a routine
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Aug 15, 2012
1 parent 80689f3 commit 319bd4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions htmlify.pl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
return $_ if m{^ <[a..z]>+ '://'};
return "/type/$_" if m/^<[A..Z]>/;
return "/routine/$_" if m/^<[a..z]>/;
# poor man's <identifier>
if m/ ^ '&'( \w <[[\w'-]>* ) $/ {
return "/routine/$0";
}
return $_;
}

Expand Down

0 comments on commit 319bd4c

Please sign in to comment.