This is wierd and unfortunately, I cannot pin down precisely when it started happening, but I only noticed it yesterday. I'm sure it didn't use to do this.
I have Mystique theme and I use Smart Youtube plugin in most of my posts.
For a normal page such as my home page
http://mortifrog.basnet.co.uk/
Everything works fine. Videos display ok and XHTML validates.
If I do a search using Firefox the page displays ok with all the videos in posts intact. However, the xhtml does not validate.
http://validator.w3.org/check?uri=http%3A%2F%2Fmortifrog.basnet.co.uk%2F%3Fs%3Ddaniel;accept=text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8;accept-language=en-gb%2Cen%3Bq%3D0.5;accept-charset=ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.7
If I do the same search in IE8 (doesn't matter if I am in compatibility mode or not) - as the page renders - the videos appear - then they disappear leaving white space in their place.
I have tried disabling all plugs-ins (which is really annoying as settings disappear in WP Super Cache and WordPress.com Stats) to no avail.
I think the problem is something to do with the ampersand before mystique not saying & in the source code of the search results:
@import "http://mortifrog.basnet.co.uk/?s=daniel&mystique=css";
However, I have been unable so far to find where about this line of code is being generated from. I tried downloading the mystique theme from my themes directory and searching all the files for: mystique=
found nothing:
searched for @import and amongst a couple of other results which I don't think were relevant - I found the following code which I think might be causing the error, although I could be way of the mark.
function mystique_load_stylesheets(){ ?>
<style type="text/css">
@import "<?php bloginfo('stylesheet_url'); ?>";
@import "<?php echo esc_url_raw(add_query_arg('mystique', 'css', (is_404() ? get_bloginfo('url') : mystique_curPageURL()))); ?>";
</style>
Has anyon got any ideas please?