Skip to content

Commit 62ab028

Browse files
committed
rewrite urls in search.js
1 parent da91db8 commit 62ab028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htmlify.p6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ sub write-search-file() {
744744
.pairs.sort({.key}).map: -> (:key($name), :value(@docs)) {
745745
qq[[\{ category: "{
746746
( @docs > 1 ?? $kind !! @docs.[0].subkinds[0] ).wordcase
747-
}", value: "$name", url: "{@docs.[0].url.subst('"', '\"', :g)}" \}]] #"
747+
}", value: "$name", url: "{rewrite-url(@docs.[0].url).subst('"', '\"', :g)}" \}]] #"
748748
}
749749
}).flat;
750750

0 commit comments

Comments
 (0)