By e-k-b on
An authoritative site shows (validator.w3.org)
Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
How to remove slash?
<meta name="viewport" content="width=device-width, initial-scale=1.0"> This is good
Comments
<img{{ attributes.addClass
<img{{ attributes.addClass(classes) }} />
<img{{ attributes.addClass(classes) }}> This is good
you can edit in the template image.html.twig
How to remove slashes from a number of lines in the head?
<meta charset="utf-8" />
<meta charset="utf-8"> This is good
remove slashes
Drupal 11.2.9 It contains 201 spaces and slashes.
Why are they there?