Encoding/Decoding Issue for Link Text and href

Created on 30 January 2024, 8 months ago

Problem/Motivation

An encoding issue has been identified when generating a links, causing unexpected behavior when rendering URLs with certain characters.
Specifically, the issue arises when attempting to include the "&" character in a URL, resulting in split parameters and impacting the module's functionality.

Steps to reproduce

Try to link a text that contains & it results an unexpected behaviour.

Proposed resolution

Encode the entity label in the replacement array for generate a correct href and decode that lable for the UI text.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇯🇴Jordan Mohammad-Fayoumi Amman

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

Comments & Activities

Production build 0.71.5 2024