We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 890e85d commit 28a0ed9Copy full SHA for 28a0ed9
packages/@vuepress/shared-utils/src/slugify.ts
@@ -5,7 +5,7 @@ import { remove as removeDiacritics } from 'diacritics'
5
6
// eslint-disable-next-line no-control-regex
7
const rControl = /[\u0000-\u001f]/g
8
-const rSpecial = /[\s~`!@#$%^&*()\-_+=[\]{}|\\;:"'<>,.?/]+/g
+const rSpecial = /[\s~`!@#$%^&*()\-_+=[\]{}|\\;:"'“”‘’<>,.?/]+/g
9
10
export = function slugify (str: string): string {
11
return removeDiacritics(str)
0 commit comments