[wp-hackers] WP 2.5 gallery breaking xhtml 1.0

Jeremy Visser jeremy.visser at gmail.com
Wed Jun 18 07:21:22 GMT 2008


On Tue, 2008-06-17 at 12:45 +0200, Knut-Olav Hoven wrote:
> When inserting a [gallery] tag in a post it breaks XHTML validation.
> 
> <style> elements are not allowed inside <div> elements.

Can you provide us with instructions on how to reproduce this?

Looking at one of Matt's galleries:

http://ma.tt/2008/06/exploring-ios/

...the markup on Matt's page doesn't contain anything like you describe.

Perhaps it is a problem with your theme -- can you reproduce it with the
default theme? Your theme should contain the code:

<?php do_action('wp_head'); ?>

Does it?

-- 
Jeremy Visser                                 http://jeremy.visser.name/

()                           ascii ribbon campaign — against HTML e-mail
/\                                               http://asciiribbon.org/



More information about the wp-hackers mailing list