Copy link to clipboard
Copied
We’re using RoboHelp 9 RoboHTML to produce WebHelp.
We’ve run into a problem the last couple of releases where when a user searches our WebHelp output, the search results always returns the home/landing page rather than the actual search result. The proper link is displayed in the address bar, but the page that is displayed is always the home page.
We’ve isolated the issue to whutil.js, and have developed a workaround where we replace the current whutil.js with one from November 2011. When we diff the files, the newer copy has a different implementation of
function IsInternal (url name) (see the attached screenshot)
Is there a setting to change to get the orignal version? Is this involed with the security patch to whutil.js?
Copy link to clipboard
Copied
anyone?
Copy link to clipboard
Copied
Sorry for the late reaction, but this slipped my radar.
Afaik, the new function solves a security issue. Though why it produces incorrect search results is a mystery to me. (Perhaps something to do with your merged help?)
If you want to retain the old version of the file, you can modify the seed file in your RoboHelp installation folder: %Robo install dir%RoboHELP/WebHelp5Ext/template_stock
Replace the existing whutils.js with your variant and RH will use your custom variant whenever you generate WebHelp. (Backup the original file if you ever want to change back.)
Greet,
Willam