The issue is that if drop-down hotspot text is wrapped in a <span> element, nothing in the drop-down heading except the hotspot text will display in HTML5 output. I've submitted a bug to MadCap (report #87061), which they've confirmed. I thought I'd post the issue here as a warning to others who also might be affected. This issue is preventing me from actually using v10, and I'm hoping MadCap will provide a patch to fix it. If anyone else would like to "join the party" in promoting a fix, I'd surely appreciate it!
Here's why this particular issue affects my project so much that I can't upgrade to v10:
I use drop-downs very extensively in my project to help keep the content in each topic "minimal" (when users initially open a topic), while also allowing users to "drill down" to greater depths of detail.
As many of you know, drop-down headings have a little "arrow" icon to their left by default that serves to alert users that "more stuff" can be seen by clicking the drop-down hotspot link. Personally, I find the "arrow" icon a little unsightly/clunky, so most often I apply a custom class to my drop-downs to hide the icon. Instead, I prefer to place the drop-down hotspot text within parentheses, then wrap the whole thing in a <span> element whose class causes the contents of the <span> to be hidden when the topic is printed from the web browser. If you're not following, here's what the code looks like:
HTML in topic:
Code: Select all
<MadCap:dropDown class="NoImage">
<MadCap:dropDownHead>
<p>My heading text<span class="noPrint"> (<MadCap:dropDownHotspot>click for more information</MadCap:dropDownHotspot>)</span></p>
</MadCap:dropDownHead>
<MadCap:dropDownBody>
<p>All of the great detailed information that you didn't need to see when you first opened this topic.</p>
</MadCap:dropDownBody>
</MadCap:dropDown>Code: Select all
@media print {
.noPrint {
display: none;
}
}
dropDown.NoImage {
mc-open-image: none;
mc-closed-image: none;
}The use of this screen-only <span> content is, of course, just a "nicety" I've added but I'm not about to remove it from every topic of my project at this point! It worked in v9 and lower, so I expect it to work in v10+. MadCap has offered no workaround to the issue so, again, I'm hopeful that they'll produce a patch soon.