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.
| Comment | File | Size | Author |
|---|---|---|---|
| bbcode-filter_inc.patch | 1023 bytes | AgnesCB |
Comments
Comment #1
naudefj commentedThanks - patch applied to DRUPAL-4-6 and HEAD.
Comment #2
(not verified) commented