I think it's a regression bug as I had not noticed it before. Not sure though.

CommentFileSizeAuthor
#3 image_resize_filter_empty_alt.patch831 bytesquicksketch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Title: The module removes the "alt" attribute thus breaking validation. » The module removes empty "alt" attributes, thus breaking validation.
Version: 6.x-1.9 » 6.x-1.11

Thanks, 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.

quicksketch’s picture

Title: The module removes empty "alt" attributes, thus breaking validation. » Incorrectly removes empty "alt" attributes from images
quicksketch’s picture

Status: Active » Fixed
FileSize
831 bytes

This patch corrects this behavior by keeping empty attributes when parsing an img tag.

quicksketch’s picture

The new 1.12 releases fix this single issue.

anrikun’s picture

Thank you for this quick fix and new release :)!

Status: Fixed » Closed (fixed)

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