Closed (fixed)
Project:
Name Field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2026 at 18:02 UTC
Updated:
10 May 2026 at 18:40 UTC
Jump to comment: Most recent
src/Render/NameListFormattableMarkup.php escapes each value (unless already MarkupInterface) but uses the delimiter verbatim. Delimiters come from admin-controlled name_list_format config, so it's safe in practice. Document the contract or defensively escape:
$this->delimiter = $delimiter instanceof MarkupInterface ? $delimiter : Html::escape((string) $delimiter);
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
bluegeek9 commentedComment #5
bluegeek9 commented