I’ve just been doing some HTML validity tests on my site and I picked up that the X-UA-Compatible tag that the plugin prints on each page is invalid. To fix that, I’ve wrapped it in a conditional comment, as it is only needed on IE. any chance of this making it in?
on line 391 of browser-rejector.php
echo '<meta http-equiv="X-UA-Compatible" content="chrome=1" />';
echo '<!--[if IE]><meta http-equiv="X-UA-Compatible" content="chrome=1" /><![endif]-->';
- The topic ‘[Plugin: Browser Rejector] X-UA-Compatible invalid HTML’ is closed to new replies.