Having a real head scratcher with this one. Have a variable in my help called "Primary/Tab Name." The value I have set for it in my CHM target is not being updated in one topic when I view it with the CHM viewer. It is being updated in the source of the output though, which is extra maddening.
For example, in target: "Primary/Tab Name" = "Foo"
original definition: "Primary/Tab Name" = "Bar"
Every other topic:
Output: Foo tab.
Output Source: <span class="PrimaryTab Name">Foo</span> tab.
Evil topic:
Output: Bar tab.
Output Source: <span class="PrimaryTab Name">Foo</span> tab.
Any ideas?
Variable has different value in displayed topic vs source
-
- Propellus Maximus
- Posts: 1238
- Joined: Mon Feb 27, 2006 5:56 am
- Location: Melbourne, Australia
Re: Variable has different value in displayed topic vs sourc
I've had problems with variables if there is a space in the variable name - they seem to work at one level, but not if you customise for a target.
Try renaming from "Tab Name" to "TabName".
How many topics have you used the variable? You might have to do a find/replace to make sure the name change is updated properly.
Try renaming from "Tab Name" to "TabName".
How many topics have you used the variable? You might have to do a find/replace to make sure the name change is updated properly.
Margaret Hassall - Melbourne
Re: Variable has different value in displayed topic vs sourc
Thanks for the help, Margaret. Turns out it was some legacy javascript that wanted to change content in a <span class = "tabname"> element into a specific string Commented out that code and it is working fine.