Opened 19 years ago
Closed 19 years ago
#3289 closed defect (bug) (fixed)
Inserting multiple images invalidates HTML
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.1 | Priority: | normal |
| Severity: | normal | Version: | 2.0.4 |
| Component: | Administration | Keywords: | |
| Focuses: | Cc: |
Description
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.
Change History (1)
Note: See
TracTickets for help on using
tickets.
This has been fixed in trunk while fixing another bug [4408] #3261
Thanks for the report!