Links don't work when header contains special characters

Created on 27 October 2021, over 2 years ago
Updated 26 December 2023, 6 months ago

Problem/Motivation

Problems when header contains special characters (:, ;, etc).
ID and anchor don't match and link doesn't work
The problem is in the library (third party), but we dont know when they are going to fix it, so we can upload a patch here for the time being.

Steps to reproduce

Write a h2 with ":"
Create a Table of contents
Save node

Proposed resolution

Replace special characters with space before the replacement of spaces with +

πŸ› Bug report
Status

Needs review

Version

1.2

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain Aless86

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024