Problem/Motivation

To pass the W3C validation, is needed to correct the trailing slash on void elements like img and input

Steps to reproduce

Use the https://validator.w3.org/nu tool

CommentFileSizeAuthor
#8 w3c_validation-3363735-8.patch672 bytesanton4uk

Issue fork radix-3363735

Command icon Show commands

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

frouco created an issue. See original summary.

frouco’s picture

Status: Active » Needs review

Changes done and ready to review

doxigo made their first commit to this issue’s fork.

  • doxigo committed 4fdb15ab on 5.0.x authored by frouco
    Issue #3363735 by frouco: W3C validation - trailing slash on void...
doxigo’s picture

Status: Needs review » Fixed

Great work, merged. Thanks

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

anton4uk’s picture

Version: 5.0.x-dev » 6.0.x-dev
StatusFileSize
new672 bytes

I have prepared the path for version 6.

doxigo’s picture

Status: Closed (fixed) » Needs review

  • danchadwick committed e081f600 on 6.0.x
    Issue #3363735 by frouco, doxigo, anton4uk, danchadwick: W3C validation...
danchadwick’s picture

Status: Needs review » Fixed

Thx for the patch. I searched the codebase and found a couple others. There is also one in a regex expression in progress.js, but since that is looking for HTML generated elsewhere, I left it as is.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.