Skip to content

Commit a8994ba

Browse files
committed
fixup
1 parent c8e2caf commit a8994ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

htmlify.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ (Bool :$debug, Bool :$typegraph = False)
107107
next unless $heading ~~ / ^ [in | pre | post | circum | postcircum ] fix /;
108108
my $what = ~$/;
109109
my $operator = $heading.split(' ', 2)[1];
110-
%names{$operator}{$what} = "/language/operators#$what%20$operator";
110+
%names{$operator}{$what} = "/language/operators#$what%20" ~ uri_escape($operator);
111111
# %names{$operator}{$what} = "/op/$what/$operator;
112112
}
113113
}
@@ -362,7 +362,7 @@ (Bool :$debug, Bool :$typegraph = False)
362362
}
363363
sub url($what, $name) {
364364
if %op-name.exists($what) {
365-
"/language/operators#$what%20$name"
365+
"/language/operators#$what%20" ~ uri_escape($name)
366366
}
367367
else {
368368
"/$what/$name";

0 commit comments

Comments
 (0)