[wp-trac] [WordPress Trac] #3289: Inserting multiple images
invalidates HTML
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 27 01:36:09 GMT 2006
#3289: Inserting multiple images invalidates HTML
----------------------------+-----------------------------------------------
Reporter: marky | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Administration | Version: 2.0.4
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
I use Wordpress' image upload and management interface regularly. Recently
I created a single "badge" image that I've been inserting into certain
posts.
The other day, I discovered that my pages weren't validating. The problem
is a non-unique ID attribute on some image tags. Wordpress automatically
applies this attribute to my image tags, but if I use the same image more
than once it doesn't assign a different id. So my code ends up having
something like `<img src="..." id="image001" /> more than once.
--
Ticket URL: <http://trac.wordpress.org/ticket/3289>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list