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 (51)
5 years ago
- Keywords has-patch removed
- Resolution set to fixed
- Status changed from new to closed
- Milestone Future Release deleted
- Resolution fixed deleted
- Status changed from closed to reopened