We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c7924d commit eae8883Copy full SHA for eae8883
lib/Pod/Htmlify.pm6
@@ -57,7 +57,7 @@ sub rewrite-url($s) is export is cached {
57
when / ^ '/routine//' $ / { return '/routine/' ~ escape-filename('/'); succeed; }
58
when / ^ '/routine///' $ / { return '/routine/' ~ escape-filename('//'); succeed; }
59
60
- when / ^ ([ '/routine/' | '/syntax/' | '/language/' | '/programs/' | '/type/' ]) (<-[#/]>+) [ ('#') (<-[/#]>+) ]* $ / {
+ when / ^ ([ '/routine/' | '/syntax/' | '/language/' | '/programs/' | '/type/' ]) (<-[#/]>+) [ ('#') (<-[#]>*) ]* $ / {
61
$r = $0 ~ escape-filename(uri_unescape($1)) ~ $2 ~ uri_escape($3);
62
succeed;
63
}
0 commit comments