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

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

@frederickcook

Description

@frederickcook

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions