Transliterate $header_title to valid HTML id

Created on 20 March 2024, 3 months ago

Problem/Motivation

Invalid identifier "-----1-" is converted for non-Latin header titles

Steps to reproduce

Configure the ToC module and create content with a title in non-Latin characters <h2>Нелатинські букви</h2>.

Proposed resolution

Add the possibility of transliteration similar to url aliases in PathAuto module.
Attached a patch for the solution.

Feature request
Status

Active

Version

1.4

Component

Code

Created by

🇺🇦Ukraine HarryAscent Lviv

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

Comments & Activities

Production build 0.69.0 2024