Hi,
The below code uses two macros to obtain two “signatures”
- location-signature
- browser-signature
This code also displays them, and even when they appear identical I never get the “yes” to display only the “no”. Both macros have \whitespace trim
<$list filter="[all[]object-type[browser-location]]">
{{{ [<location-signature>match<browser-signature>then[yes]else[not]] }}}
<$link/> <br><<location-signature>><br>
</$list>
<<browser-signature>>
As usual we need to wikify one or both of the variables in the comparison; then this works.
<$wikify name=browser-signature text="""<<browser-signature>>""">
<$list filter="[all[]object-type[browser-location]]">
<$wikify name=location-signature text="""<<location-signature>>""">
{{{ [<location-signature>match<browser-signature>then[yes]else[not]] }}}
<$link/> <br><<location-signature>><br>
</$wikify>
</$list>
<<browser-signature>>
</$wikify>
Oh how I wish this was not a “feature” of TiddlyWiki! 30 mins wasted again, today.