webhelp: wrong order of script and meta tags
Posted: Tue Jun 02, 2015 2:37 pm
In Oxygen 17 the following was added to dita-ot\plugins\com.oxygenxml.webhelp\xsl\createMainFiles.xsl
Similar code snippets have been added for both the index.html & index_frames.html.
However by adding this in front of the meta tag:
This meta information is no longer interpreted by IE and therefore on an intranet, the webhelp output is no longer rendered according the latest standard (sticks to IE=7).
Please move the scripts for the respective index files behind the meta tags to fix this issue.
Code: Select all
<script type="text/javascript">
var withFrames = true;
var webhelpSearchRanking = <xsl:value-of select="$WEBHELP_SEARCH_RANKING"/>;
</script>
However by adding this in front of the meta tag:
Code: Select all
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
Please move the scripts for the respective index files behind the meta tags to fix this issue.