Gallery Shortcode Causes XHTML Validation Failure
|Reported by:||achmafooma||Owned by:|
When placing a gallery in an entry, the gallery shortcode places a style tag in the body. This is prohibited under XHTML (style tags must be in the head) and causes an XHTML validation failure.
Any style tags generated by WordPress need to go into the head, not the body, so all our sites pass XHTML validation.
This was mentioned in a few other bugs, but there didn't seem to be a bug specifically for dealing with this (at least not that I could find). Sorry if it's a dupe :-).
Change History (48)
comment:15 johnbillion — 3 years ago
- Keywords has-patch removed
- Resolution set to fixed
- Status changed from new to closed
comment:20 in reply to: ↑ 19 ; follow-up: ↓ 22 nacin — 3 years ago
- Milestone Future Release deleted
- Resolution fixed deleted
- Status changed from closed to reopened