Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

[if IE] tag not opening/closing properly #5

Open
frederickcook opened this issue Aug 31, 2011 · 0 comments
Open

[if IE] tag not opening/closing properly #5

frederickcook opened this issue Aug 31, 2011 · 0 comments

Comments

@frederickcook
Copy link

Jade:

!!!
html
  head
    title= 'title'
    // [if IE]
      script(type="text/javascript")
        window.console = { log: function () {} };

  body!= body

Results in HTML:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>title</title><!-- [if IE]<script type="text/javascript">window.console = { log: function () {} };

    </script>--></head>

Should result in HTML:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>title</title><!-- [if IE]><script type="text/javascript">window.console = { log: function () {} };

    </script><![endif]--></head>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant