1 Reply Latest reply: Oct 30, 2014 4:06 PM by Liam Dilley RSS

    BUG: Less than or equal to operator

    Daryl Barnes Community Member

      This produces the wrong output:

       

      {% if 1 <= 2 %}

       

      <p>Yes, 1 is less than or equal to 2.</p>

       

      {%else%}

       

      <p>No, 1 is NOT less than or equal to 2.</p>

       

      {%endif%}

       

       

      My guess is it has something to do with escaping it because >= seems to works fine although I haven't fully tested it.