Robohelp 2019 not importing Conditional tags correctly
Annnnd yet another problem with 2019 (the new version, not the classic).
I've just tried importing a project to see if variables are correctly imported (they are on the two projects I tried), and discovered that RH is now not importing conditional tagged text correctly.
So, in Classic, the code is:
<li class="list-ordered">Select<?rh-cbt_start condition="Intranet_Only" ?>
<?rh-cbt_end ?><?rh-cbt_start condition="Intranet_Only" ?><span style="font-weight: bold;">Tools</span><?rh-cbt_end ?><?rh-cbt_start condition="Intranet_Only" ?>: <?rh-cbt_end ?><?rh-cbt_start condition="Intranet_Only" ?><span style="font-weight: bold;">Clause
Organiser...</span><?rh-cbt_end ?><?rh-cbt_start condition="Hidden, Hide" ?>not
<?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?><span style="font-weight: bold;">Admin</span><?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?>: <?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?><span style="font-weight: bold;">Organiser</span><?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?> from the menu, and click the <?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?><span
style="font-weight: bold;">Clause</span><?rh-cbt_end ?><?rh-cbt_start condition="Desktop_Only" ?>
tab<?rh-cbt_end ?>.</li>
Horrible, right-- for those that can't work it out, it's supposed to be <intranet_only><hide><desktop_only> but the tags multiply as you write. Basically I have two sentences butting up to each other, one for each version of the software, and a <hide> in the middle because RH got a bit dodgy about having two Conditional tags next to each other.
So the text for Intranet should be:
Select Tools: Clause Organiser...
And the text for Desktop...
Select Admin: Organiser from the menu, and click the Clause tab.
However, the new 2019 version comes up with:
<li class="list-ordered">Select <span data-condition="Others:Intranet_Only" style="font-weight: bold;">Tools</span><span data-condition="Others:Intranet_Only">: </span><span style="font-weight: bold;">Clause Organiser...</span>not <span style="font-weight: bold;">Admin</span>: <span style="font-weight: bold;">Organiser</span> from the menu, and click the <span style="font-weight: bold;">Clause</span> tab.</li>
Simpler, right? Except it's missed out <hide><desktop_only> meaning that the text for Intranet is:
Select Tools: Clause Organiser...not Admin: Organiser from the menu, and click the Clause tab.
And the text for Desktop is:
Select Clause Organiser...not Admin: Organiser from the menu, and click the Clause tab.
Which is just so wrong on both counts. It doesn't even get one version right.
And this has been used throughout the project as two applications use the same help.
We also have another product in the range which is even worse for using Conditional Tags so it's not as though this is a one off for us.
