6 Replies Latest reply on Oct 18, 2006 2:24 PM by Woodler

    How do I output a HTML comment in the head-tag via header-co

    Thomas Watson Newbie

      In jboss-portlet.xml, the tag <header-content> holds all tags that needs to be injected into the portals head tag. This can for example be CSS or JavaScript tags.

      But in my situation I also need to output the following HTML comment (i.e. <!--- ... -->):

      <!--[if lt IE 7.]>
      <script src="/javascripts/pngfix.js" type="text/javascript">// foobar</script>

      The comment in the XML is of cause interpreted as an XML comment and is just ignored and therefore not outputted. Is there a way to escape the comment to that the XML reader just forwards it to the HTML?