Broken link to subtitle if it has accent marks #1459

Closed
opened 2026-02-20 16:01:25 -05:00 by deekerman · 2 comments
Owner

Originally created by @Governa on GitHub (May 11, 2020).

Originally assigned to: @NGPixel on GitHub.

Describe the bug
If a subtitle has an accent, any link to it won't work. Removing the accent, the link starts working.

If I write the URL manually to the browser's navigation bar it works even with the accent.

To Reproduce
In the Markdown editor add the following title and link:
# Tést
A lot of text
A lot of text
A lot of text
A lot of text
A lot of text
A lot of text
A lot of text
A lot of text
A lot of text
...
[Tést](#tést)

Save the page

Expected behavior
The link should move the page to the correct heading.

Host Info (please complete the following information):

  • OS: Ubuntu 16.04, Docker
  • Wiki.js version: 2.3.81
  • Database engine: sqlite
Originally created by @Governa on GitHub (May 11, 2020). Originally assigned to: @NGPixel on GitHub. **Describe the bug** If a subtitle has an accent, any link to it won't work. Removing the accent, the link starts working. If I write the URL manually to the browser's navigation bar it works even with the accent. **To Reproduce** In the Markdown editor add the following title and link: # Tést A lot of text A lot of text A lot of text A lot of text A lot of text A lot of text A lot of text A lot of text A lot of text ... [Tést](#tést) Save the page **Expected behavior** The link should move the page to the correct heading. **Host Info (please complete the following information):** - OS: Ubuntu 16.04, Docker - Wiki.js version: 2.3.81 - Database engine: sqlite
deekerman 2026-02-20 16:01:25 -05:00
Author
Owner

@craph commented on GitHub (Sep 29, 2021):

Hello @NGPixel I think this issue can be closed because the PR is merged right ?

@craph commented on GitHub (Sep 29, 2021): Hello @NGPixel I think this issue can be closed because the PR is merged right ?
Author
Owner

@Paulo-newtec commented on GitHub (Mar 5, 2024):

Even after this merge, this bug is occurring with me.
I tested with 4 browsers: Firefox Mozilla and Opera functions correctly, but Microsoft Edge and Google Chrome maintains the bug, and the page don't scroll down to headers with accents.

@Paulo-newtec commented on GitHub (Mar 5, 2024): Even after this merge, this bug is occurring with me. I tested with 4 browsers: Firefox Mozilla and Opera functions correctly, but Microsoft Edge and Google Chrome maintains the bug, and the page don't scroll down to headers with accents.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wiki#1459
No description provided.