Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Pages validate OK so long as all image tags end with "/>" rather than ">". Functionality unaltered by this change.
I've manually made the change in my own files, but could it be incorporated into the next release?
Comment | File | Size | Author |
---|---|---|---|
#2 | unclosed_img_tags-1819130.patch | 41.04 KB | b-reid |
Comments
Comment #0.0
p0rtion CreditAttribution: p0rtion commentedAdded speech marks so that text not interpreted as markup
Comment #1
p0rtion CreditAttribution: p0rtion commentedAltered summary/title to make issue clearer
Comment #1.0
p0rtion CreditAttribution: p0rtion commentedThird time lucky...
Comment #2
b-reid CreditAttribution: b-reid at LevelTen Interactive commentedI think this is the patch you are looking for, I closed up all img tags.
The reason for this issue is because older sites, or even sites based off omega 2 or 3 use XHTML 1.0 Transitional Doctype.
I would recommend anyone at this point to upgrade their site to HTML5 doctype.
Sources:
https://stackoverflow.com/questions/15149641/do-i-need-a-at-the-end-of-a...
https://www.w3schools.com/tags/tag_doctype.asp
Comment #3
kyletaylored CreditAttribution: kyletaylored at LevelTen Interactive commentedComment #6
apadernoI am merging two issue tags. I apologize for bumping a closed issue.