Navigation:  Introduction > Known limitations and issues >

Removing the topic initialisation script

Previous pageReturn to chapter overviewNext page

In version 4.3.0 there appears to be an issue with a script line that is placed in the the <head>section of the html files.

Help and Manual inserts the following line:

 

<script type="text/javascript" src="helpman_topicinit.js"></script>

 

However, once this has been parsed by the JTidy application the script line is rearranged and repositioned.  This causes an error when handled by JavaHelp.  In order to prevent this causing a problem it is necessary to add an additional line to the replace_text.properties file to remove the offending line.  Add the following lines to your replace_text.properties file if you get this problem.

 

# Handle issue with JTidy and the script link.

<script\ src\=\"helpman_topicinit.js\"\ type\=\"text/javascript\">=<!--\ remove_tag\ -->

 

\ufeff=<!-- rogue character -->

 

This technique can be used if you find other problem lines in future releases of the application.