TOC disappears when search contains the % character

This forum is for all Flare issues not related to any of the other categories.
Post Reply
jjorissen
Propeller Head
Posts: 25
Joined: Fri Apr 27, 2018 12:11 am

TOC disappears when search contains the % character

Post by jjorissen »

When entering % or a text containing one or more % characters in the search field of our output (online help) from Flare, the TOC (top navigation) disappears.
Any ideas why this occurs and what can be done to prevent this from happening :?:

It's the following HTML, for which the <li placeholder..> gets automatically filled with all the menu & sub-menu items :
<div class="navigation-wrapper nocontent">
<ul class="navigation clearfix" data-mc-css-tree-node-has-children="has-children" data-mc-css-sub-menu="sub-menu" data-mc-expand-event="mouseenter" data-mc-top-nav-menu="True" data-mc-max-depth="10" data-mc-include-icon="False" data-mc-include-indicator="False" data-mc-include-children="True" data-mc-include-siblings="True" data-mc-include-parent="True" data-mc-toc="True">
<li class="placeholder" style="visibility:hidden"><a>placeholder</a>
</li>
</ul>
</div>

=> <li class="has-children" data-mc-id="0"><a href="../Content/Overview-WhatsNew.htm?TocPath=What's%20New%3F|_____0">menu item 1</a></li>
etc.

But when performing a search on '%', or 'test%a' for example, the placeholder is there again, and all the 'children' disappear.
Any ideas? Thanks.
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: TOC disappears when search contains the % character

Post by NorthEast »

Report it as a bug.

It does the same with my HTML5 help outputs too. The browser console log reports a lot of errors in MadCap's scripts.
jjorissen
Propeller Head
Posts: 25
Joined: Fri Apr 27, 2018 12:11 am

Re: TOC disappears when search contains the % character

Post by jjorissen »

Thanks, I've just logged a bug for it.
Post Reply