Placeholder tags (placeholder_token), break HTML if propely closed "<tag/>"

Created on 26 October 2021, about 3 years ago
Updated 11 November 2023, about 1 year ago

Problem/Motivation

Placheholder tags break layout if they are properly closed according to: https://dev.w3.org/html5/html-author/#tags

Self-closing tags should not require the "/" before the closing angle bracket, but more importantly should not break HTML, if it's added.

Steps to reproduce

simply change:
<head-placeholder token="{{ placeholder_token|raw }}">

to:
<head-placeholder token="{{ placeholder_token|raw }}"/>

Proposed resolution

Ensure that properly closing the tag, according to HTML5 specs, doesn't break HTML rendering.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Markup 

Last updated 2 days ago

No maintainer
Created by

🇺🇸United States in0ni

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024