webhelp: wrong order of script and meta tags
Oxygen general issues.
-
- Posts: 30
- Joined: Tue Jun 02, 2015 2:01 pm
webhelp: wrong order of script and meta tags
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.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: webhelp: wrong order of script and meta tags
Post by sorin_ristache »
Hi Tristan,
You are right, the meta tag with X-UA-Compatible should come before any JavaScript or CSS code. We will correct that in the next maintenance build of of Oxygen 17.0.
Thank you for letting us know.
You are right, the meta tag with X-UA-Compatible should come before any JavaScript or CSS code. We will correct that in the next maintenance build of of Oxygen 17.0.
Thank you for letting us know.
Regards,
Sorin
<oXygen/> XML Editor Support
Sorin
<oXygen/> XML Editor Support
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service