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:

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



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.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy