When adding an image using BBCode syntax the resulting HTML code doesn't pass XHTML validation because it misses the now-required alt attribute for the img tag.

I am attaching a patch that simply adds a content-less alt attribute to img tags. Has been working fine on my system for a while now.

CommentFileSizeAuthor
bbcode-filter_inc.patch1023 bytesAgnesCB

Comments

naudefj’s picture

Assigned: Unassigned » naudefj
Status: Reviewed & tested by the community » Fixed

Thanks - patch applied to DRUPAL-4-6 and HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)