Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292480

Log a warning if attribute names contain a space

$
0
0

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

Add logger
Need steps to reproduce
Address Unit Test failures - https://git.drupalcode.org/issue/drupal-3514612/-/pipelines/457672/failures
Test the fix

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


Viewing all articles
Browse latest Browse all 292480

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>