Skip to main content
October 10, 2012
Question

RH10 removes script references in the master page header

  • October 10, 2012
  • 1 reply
  • 1300 views

Hi all,

I just noticed that RH10 removes references to script files that I place in the header section of the master page. I do not think that I had this problem with older versions although I skipped RH9 with this particular project.

Does anybody know a solution or is it only me who is having this problem?

Robert

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
October 10, 2012

I just inserted a reference to a JS file in the header of a master page in Rh9 and it is not getting stripped.

I upgraded the project to Rh10 and it is still good.

It was a simple test just adding

<script type="text/javascript" language="JavaScript" src="filename.js"></script>


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
October 11, 2012

Peter, thanks for testing. You mean the scrip reference also is still

present in your Webhelp or HTML help output files?

I should have mentioned I mean that the scrip reference is getting

removen in the output process (but is still present in the htt template

file).

Robert

Peter Grainge
Community Expert
Community Expert
October 11, 2012

I just generated WebHelp and the script was still referenced in the output.

Is the target file getting uploaded? Wondering if the script gets stripped if the file is not part of the output.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.