Open folder RoboHTML\WebHelp5Ext\template_stock from the installation directory of Adobe RoboHelp. For example,
C:\Program Files (x86)\Adobe\Adobe RoboHelp 2017\RoboHTML\WebHelp5Ext\template_stock
Troubleshoot the issue with the ToC of Webhelp output in Google Chrome.
Cannot collapse the table of content of a multilevel Webhelp in following version of Google Chrome:
Ensure that you back up the whthost.js file from the following location and then proceed further.
C:\Program Files (x86)\Adobe\Adobe RoboHelp <version>\RoboHTML\WebHelp5Ext\template_stock
Do the following to resolve the issue:
Open folder RoboHTML\WebHelp5Ext\template_stock from the installation directory of Adobe RoboHelp. For example,
C:\Program Files (x86)\Adobe\Adobe RoboHelp 2017\RoboHTML\WebHelp5Ext\template_stock
Open the whthost.js file in a text editor.
Find the line
sText = sText.replace("\n", "");
And replace it with
sText = sText.replace(/\n/g, "");
Save the changes.
Open RoboHelp, publish the Webhelp output, and verify that the issue is resolved.