Log a warning if attribute names contain a space

Created on 21 March 2025, 17 days ago

Problem/Motivation

Log a warning if the attribute name contains a space and we strip the attribute all together (e.g. ['selected href' => 'http://example.com']). Because we're only checking that the output attribute names match the ones we pass in this will be stripped.

Steps to reproduce

Proposed resolution

If an attribute name contains a space log a warning and strip the attribute entirely.

Remaining tasks

If an attribute name contains a space log a warning and strip the attribute entirely.
Test coverage.

User interface changes

A warning will be logged if an attribute name contains a space.

Introduced terminology

n/a

API changes

n/a

Data model changes

n/a

Release notes snippet

TBC

📌 Task
Status

Active

Version

11.1 🔥

Component

link.module

Created by

🇺🇸United States DamienMcKenna NH, USA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024