Project

General

Profile

« Previous | Next » 

Revision 3806

use CDATA when calling the insertTemplate...() javascript methods.

View differences:

lib/style/skins/kepler/resultset.xsl
125 125

  
126 126
      <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
127 127
        <script language="JavaScript">
128
          insertTemplateOpening("{$contextURL}");
129
          insertSearchBox("{$contextURL}");
128
          <![CDATA[
129
          insertTemplateOpening("]]><xsl:value-of select="$contextURL" /><![CDATA[");
130
          insertSearchBox("]]><xsl:value-of select="$contextURL" /><![CDATA[");
131
         ]]>
130 132
        </script>
131 133

  
132 134
        <div class="body">
......
341 343
          </xsl:if>
342 344
        </div>
343 345
        <script language="JavaScript">
344
insertTemplateClosing("{$contextURL}");
346
          <![CDATA[
347
          insertTemplateClosing("]]><xsl:value-of select="$contextURL" /><![CDATA[");
348
         ]]>
345 349
        </script>
346 350
      </body>
347 351
    </html>

Also available in: Unified diff