I have this code
{exp:low_replace find="\r|\n|\t" replace="" regex="yes"}
{if '{member_group}' == 7}
aaa
{if:else}
zzz
{/if}
{if '{logged_in_member_group}' != 7}
bb
{if:else}
yyy
{/if}
{if {logged_in_member_group} == '7'}
ccc
{if:else}
xxx
{/if}
{if {logged_in_member_group} != '7'}
dddd
{if:else}
www
{/if}
{member_group}
{/exp:low_replace}
The output is
zzz yyy xxx www 7
This is weird because the output of {member_group}
is 7.
Why are the conditionals not matching?