-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
I'm translating the docs right now. Site can't be build when I use cyrillic in *** headers
, because this line:
.replace(/[^a-zA-Z0-9]+/g, '-')
at https://github.com/sveltejs/svelte/blob/master/site/src/routes/docs/_sections.js#L105
... deletes all signs from the slug and causes 500 error.
a-zA-Z
is a pattern for english letters only. The \p{Letter}
could be used instead, but not all possible letters are allowed to be in URL.
Metadata
Metadata
Assignees
Labels
No labels