Skip to content

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

Description

@acyanbird

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions