Skip to main content
EileenPalsson
Inspiring
August 21, 2008
Answered

Spaces disappear when searching WebHelp

  • August 21, 2008
  • 3 replies
  • 670 views
The HTML looks like this: (see attached code)

So in the WebHelp it looks like this:
In most systems, the <b>Information</b> page is the first ...

But if you do a search in the WebHelp (on the Search tab) and "Highlight search results" is selected (which it is by default), this is what users see:
In most systems, the <b>Information</b>page is the first ...

So it looks like we've missed spaces all over the place.

The only way I have found to avoid this is by manually adding a hard space in the HTML code. But we can't do that every time we format text!

With users searching more and more, I have to find a solution to this problem. Anyone?

Thanks
Eileen
This topic has been closed for replies.
Correct answer EileenPalsson
Great! Rather than everybody else going to search your site for the answer, here it is (quote):

Adobe quickly posted a change to one of the javascript files with instructions to modify the file "C:\Program Files\Adobe\Adobe RoboHelp 7\RoboHTML\WebHelp5Ext\template_stock\whtopic.js" manually, assuming installation at the default location. To save you the trouble of making the change, "click here" to download a zip file containing a replacement file.

And here's the URL to the new file:
http://www.grainge.org/pages/authoring/rh7/whtopic.zip

And here's a tip: This works great (thank you, Peter), but you DO have to recompile the WebHelp. You can't just replace the whtopic.js file in the output.

Eileen

3 replies

Peter Grainge
Community Expert
Community Expert
August 21, 2008
I am sorry if it was difficult to find. The idea of not posting stuff here and pointing to my site is that sometimes things change. I can update that but I cannot realistically come back and find every thread and change them.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
EileenPalsson
EileenPalssonAuthorCorrect answer
Inspiring
August 21, 2008
Great! Rather than everybody else going to search your site for the answer, here it is (quote):

Adobe quickly posted a change to one of the javascript files with instructions to modify the file "C:\Program Files\Adobe\Adobe RoboHelp 7\RoboHTML\WebHelp5Ext\template_stock\whtopic.js" manually, assuming installation at the default location. To save you the trouble of making the change, "click here" to download a zip file containing a replacement file.

And here's the URL to the new file:
http://www.grainge.org/pages/authoring/rh7/whtopic.zip

And here's a tip: This works great (thank you, Peter), but you DO have to recompile the WebHelp. You can't just replace the whtopic.js file in the output.

Eileen
Peter Grainge
Community Expert
Community Expert
August 21, 2008
See Using RH7 on my site.

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