-
-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error reported when tag is in Chinese #169
Comments
My guess is that you’re using |
I used Chinese TGA in the article.
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeuricomponent I deleted slugify and successfully resolved this issue.
now
And the official example's tga "second tag" containing spaces did not report an error, and the URL changed to http://localhost:8080/tags/second%20tag/ I personally think that slugify should not be used by default, as this way the webpage can be displayed normally |
I’m glad you found a solution! I don’t think Eleventy uses
In case you still want to create friendlier versions of your URLs, you could look at those libraries. The aforementioned 11ty/eleventy#2537 seems to have concluded with the same approach you’ve switched to, though. |
|
md
Error content
The text was updated successfully, but these errors were encountered: