Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将此评论放入:
<head> <!--[if lt IE 8]> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"> </script> <![endif]--> <ui:insert name="faceletHeader"/> </head>
但评论将从头中删除。配置文件中没有设置跳过注释值。如何插入此评论?
谢谢
采用<h:outputText escape="false">
<h:outputText escape="false">
<h:outputText value="<!--[if lt IE 8]><script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"></script><![endif]-->" escape="false" />