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.
I think it's a regression bug as I had not noticed it before. Not sure though.
Comment | File | Size | Author |
---|---|---|---|
#3 | image_resize_filter_empty_alt.patch | 831 bytes | quicksketch |
Comments
Comment #1
quicksketchThanks, I've confirmed the problem but only when alt text is an empty string. But like you say, "alt" is a required property even if it's empty in XHTML.
Comment #2
quicksketchComment #3
quicksketchThis patch corrects this behavior by keeping empty attributes when parsing an img tag.
Comment #4
quicksketchThe new 1.12 releases fix this single issue.
Comment #5
anrikun CreditAttribution: anrikun commentedThank you for this quick fix and new release :)!