Search code examples
internet-explorerconditional-comments

IE conditional comments working but tags visible?


I have the magnificent HTML5 javascript shim linked to in my <head>.

It works fine apart from it displays the tags at the top of the page ie:

<!--[if lt IE9]> <![endif]-->

When I view source, it looks absolutely fine and dandy. I have absolutely no idea what is going on!!!


Solution

  • Add a space between IE and 9.