Skip to content

Wrong anchors for non-latin symbols in wiki pages #3919

@tetafro

Description

@tetafro
  • Gogs version (or commit ref): 0.9.100.1119
  • Git version: 2.6.6
  • Operating system: Ubuntu 16.04 + Docker 1.12.3 + Alpine Linux 3.3 (inside container)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gogs.io:
  • Log gist: -

Description

Wrong anchors for non-latin symbols in wiki pages: when head (starts with # symbols) contain non-latin symbols, like cyrillic for example, anchor link for this head will not contain any of these symbols.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions