Skip to content
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

Gitalk validation failed because the label name is too long #155

Open
acyanbird opened this issue Dec 26, 2024 · 0 comments
Open

Gitalk validation failed because the label name is too long #155

acyanbird opened this issue Dec 26, 2024 · 0 comments

Comments

@acyanbird
Copy link

I found a problem that issue cannot be created with error validation failed. That is because label name cannot longer than 50 character.
image
I don't know how to modify github-style theme, so just a simple work around:

  [params.gitalk]
    id = "decodeURI(location.pathname)

Therefore the label would be chinese character not the utf8, so most of the label would be less than 50 character.
Maybe it could be improved by adding option to change id into md5.
gitalk/gitalk#115 (comment)

But for now the decodeURI can solve the problem in most of the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant