Jinja Compat Tests

Enabled engines

lower filter

Template

{{ items|lower }}

Data

{
  "items": [
    "my first car",
    "my Second car",
    "my THIRD car"
  ]
}

v1.10.1

[u'my first car', u'my second car', u'my third car']

v2.8.0

[u'my first car', u'my second car', u'my third car']

v3.0.6

my first carmy Second carmy THIRD car

(error) v2.5.0


  TypeError: str.toLowerCase is not a function

v1.4.2

my first car,my second car,my third car

(error) v1.24.2

(no output)

v0.9.5

my first car,my Second car,my THIRD car

Template

{{ 5|lower }}

v1.10.1

5

v2.8.0

5

v3.0.6

5

(error) v2.5.0


  TypeError: str.toLowerCase is not a function

v1.4.2

5

v1.24.2

5

v0.9.5

5

Template

{{ 'My FIRST Car'|lower }}

v1.10.1

my first car

v2.8.0

my first car

v3.0.6

My FIRST Car

v2.5.0

my first car

v1.4.2

my first car

v1.24.2

my first car

v0.9.5

my first car