sitebricks icon indicating copy to clipboard operation
sitebricks copied to clipboard

The html code like <!--[if lt IE 9]> is not renderable?

Open djunhao opened this issue 12 years ago • 1 comments

I have some html template code like this:

<!--[if lt IE 9]>
    <script src="/assets/js/ie/html5.js"></script>
    <script src="/assets/js/ie/respond.min.js"></script>
    <![endif]-->

These codes is removed by SB. Is it right?

djunhao avatar Dec 01 '12 16:12 djunhao

something like following:

  1. create a html template for layout decorator (such as called Layout.html);
  2. add the code like above to the deocorator html file (Layout.html);
  3. view the rendered decorated page like Home.html, and the code like above mentioned has been removed like other commented code.

djunhao avatar Mar 09 '13 15:03 djunhao