Skip to content

Commit c315749

Browse files
committed
Fix some urls
1 parent 928cacd commit c315749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export function getLinkToGuide(guide: Guide, page: GuidePage): string {
157157
export function urlify(input: string, shouldRemoveBrackets: boolean): string {
158158
if (shouldRemoveBrackets)
159159
input = removeBrackets(input)
160-
return input.toLowerCase().replace(/[():"'-]/g, "").trim().replace(/ +/g, "-")
160+
return input.toLowerCase().replace(/[():"'?,-]/g, "").trim().replace(/ +/g, "-")
161161
}
162162

163163
export function removeBrackets(input: string) {

0 commit comments

Comments
 (0)