We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e5b4f6 commit b041d44Copy full SHA for b041d44
src/utils/Utils.ts
@@ -540,7 +540,7 @@ export function getLinkToGuide(guide: Guide, page: GuidePage): string {
540
export function urlify(input: string, shouldRemoveBrackets: boolean): string {
541
if (shouldRemoveBrackets)
542
input = removeBrackets(input)
543
- return input.toLowerCase().replace(/\(|\)|:/g, "").trim().replace(/ +/g, "-")
+ return input.toLowerCase().replace(/[():"']/g, "").trim().replace(/ +/g, "-")
544
}
545
546
export function removeBrackets(input: string) {
0 commit comments