Page 1 of 1

WebHelp topic tooltip shows garbled text

Posted: Tue Jan 07, 2020 11:01 pm
by Carl
I understand the that "<shortdesc>" element is used to display tooltip text when you hover over a topic in WebHelp. Most of the time it works, but I've seen instances where the displayed tooltip contains garbled text. I've check the <shortdesc> contents and nothing seems to be amiss. That is, unless <shortdesc> doesn't like reusable components or profiling attributes hidden with <props>?

I have included screenshots that show the garbling and how the original topic looks like, in authoring and text modes.

Garbled tooltip in WebHelp
Garbled tooltip in WebHelp
Selection_025.png (111.85 KiB) Viewed 932 times
How the topic looks like in Authoring mode
How the topic looks like in Authoring mode
Selection_026.png (27.89 KiB) Viewed 932 times
How the topic looks like in Text mode
How the topic looks like in Text mode
Selection_027.png (29.63 KiB) Viewed 932 times

Re: WebHelp topic tooltip shows garbled text

Posted: Wed Jan 08, 2020 11:36 am
by alin
Hello,

This is a known issue which has already been resolved in the upcoming version.
To overcome this problem you can use the following custom CSS rule in your WebHelp output:

Code: Select all

.wh-tooltip-container .wh-tooltip,
.wh_breadcrumb .topicref .wh-tooltip,
.wh_publication_toc .topicref .wh-tooltip {
     display: block;
}
You can read more about customizing the output in this topic: https://www.oxygenxml.com/doc/versions/ ... h-css.html

Regards,
Alin