There are occasions when one content item needs to be compared with another in an article. I have CB Content Bot installed and enabled. The [cb:if ...] substitution construct is only described in the context of comparing profile fields with a string. I am trying to use it to compare two strings that are produced by other (non-CB) content bots. The example below shows the exact code. Please note that all placeholders in this example are produced by other content bots, not by CB.
Code:
[cb:if "{street_address}" != "{cb_address}"]<span style="background-color:powderblue;">{street_address}</span>[cb:else]{street_address}[/cb:else][/cb:if]
This yields a "true" result even when {street_address} and {cb_address} are identical.
There is actually a CB field defined as cb_address. Could this be interfering, or is cb:if not able to compare two strings?
Thanks in advance.