Skip to content

Commit a4c124c

Browse files
committed
Dealing with ? in URLs
Which means it fixes #1677 but it actually does nothing to #1851, which has completely disappeared.
1 parent c78c8e6 commit a4c124c

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
@@ -749,7 +749,7 @@ sub write-search-file() {
749749
.pairs.sort({.key}).map: -> (:key($name), :value(@docs)) {
750750
qq[[\{ category: "{
751751
( @docs > 1 ?? $kind !! @docs.[0].subkinds[0] ).wordcase
752-
}", value: "$name", url: " {rewrite-url(@docs.[0].url).subst(\, %5c, :g).subst('"', '\"', :g) }" \}]] #"
752+
}", value: "$name", url: " {rewrite-url(@docs.[0].url).subst(\, %5c, :g).subst('"', '\"', :g).subst(?, %3F, :g) }" \}]] #"
753753
}
754754
}).flat;
755755

0 commit comments

Comments
 (0)