We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c750dc commit 3f5074fCopy full SHA for 3f5074f
src/utils/Utils.ts
@@ -597,7 +597,7 @@ export function getLinkToGuide(guide: Guide, page: GuidePage): string {
597
export function urlify(input: string, shouldRemoveBrackets: boolean): string {
598
if (shouldRemoveBrackets)
599
input = removeBrackets(input)
600
- return input.toLowerCase().replace(/[():"']/g, "").trim().replace(/ +/g, "-")
+ return input.toLowerCase().replace(/[():"'-]/g, "").trim().replace(/ +/g, "-")
601
}
602
603
export function removeBrackets(input: string) {
0 commit comments