h2o-php icon indicating copy to clipboard operation
h2o-php copied to clipboard

IF higher or equal

Open macedd opened this issue 9 years ago • 0 comments

The following syntax trigger a TemplateSyntaxError

{% if me.number >= 0 %}
// Uncaught exception 'TemplateSyntaxError' with message 'unexpected character in filters : "="

Also using negative value does the same problem

{% if me.number > -1 %}
Uncaught exception 'TemplateSyntaxError' with message 'unexpected character in filters : "-"

macedd avatar Jul 30 '15 22:07 macedd