I am trying to compare a query string with a macro but I am not getting the expected results. The code is:
User is: {%user%}<br/>
Are they equal: {%if ({?user?} == "chanan") { "Yes" } else { "No" }%}<br />
The results are when going to the page with ?user=chanan and logged in as chanan are:
User is: chanan
Are they equal: No
Is Username equal to chanan: Yes
Are they equal with nested macros: No
while the expected results should be (I am unsure about the 4th line, I was trying it to see if it helps):
User is: chanan
Are they equal: Yes
Is Username equal to chanan: Yes