Cannot collapse the ToC of Webhelp output in Google Chrome

Troubleshoot the issue with the ToC of Webhelp output in Google Chrome.

Issue

Cannot collapse the table of content of a multilevel Webhelp in following version of Google Chrome:

  • v63.0.3239.84
  • v63.0.3239.108
  • v64.0.3282.167

Solution

Note:

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:

  1. 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

  2. Open the whthost.js file in a text editor.

  3. Find the line

    sText = sText.replace("\n", "");

    And replace it with

    sText = sText.replace(/\n/g, "");

  4. Save the changes.

  5. Open RoboHelp, publish the Webhelp output, and verify that the issue is resolved.

Get help faster and easier

New user?