I might be missing something, but given this demo here:
0 gt -5: <$reveal type=“gt” default=0 text=-5>yes</$reveal>
-1 gt -5: <$reveal type=“gt” default=-1 text=-5>yes
</$reveal>
-5 gt -1: <$reveal type=“gt” default=-5 text=-1>yes
</$reveal>
0 lt -5: <$reveal type=“lt” default=0 text=-5>yes
</$reveal>
-5 lt 0: <$reveal type=“lt” default=-5 text=0>yes
</$reveal>
-1 lt -5: <$reveal type=“lt” default=-1 text=-5>yes
</$reveal>
-5 lt -1: <$reveal type=“lt” default=-5 text=-1>yes</$reveal>
I get the following output:
0 gt -5: yes
-1 gt -5:
-5 gt -1: yes ← -5 is less than -1, not greater
0 lt -5:
-5 lt 0: yes
-1 lt -5: yes ← -1 is greater than -5, not less
-5 lt -1:
Is this a known issue?