Jinja Compat Tests

Enabled engines

verbatim tag

Template

{% verbatim %}{{ x }{% endverbatim %}

v1.10.1

{{ x }

(error) v2.8.0

Encountered unknown tag 'verbatim'.

(error) v3.0.6

Liquid syntax error: Unknown tag 'verbatim'

(error) v2.5.0

 [Line 1, Column 2]
  unknown block tag: verbatim

(error) v1.4.2

Unexpected tag "verbatim".

v1.24.2

{{ x }

v0.9.5

{{ x }

Template

{% verbatim %}{% if im_broken }still work{% endverbatim %}

(error) v1.10.1

Unclosed tag on line 1: 'verbatim'. Looking for one of: endverbatim.

(error) v2.8.0

Encountered unknown tag 'verbatim'.

(error) v3.0.6

Liquid syntax error: Unknown tag 'verbatim'

(error) v2.5.0

 [Line 1, Column 2]
  unknown block tag: verbatim

(error) v1.4.2

Unexpected tag "verbatim".

v1.24.2

{% if im_broken }still work

v0.9.5

{% if im_broken }still work

Template

{% verbatim %}{# test {% endverbatim %}

v1.10.1

{# test 

(error) v2.8.0

Encountered unknown tag 'verbatim'.

(error) v3.0.6

Liquid syntax error: Unknown tag 'verbatim'

(error) v2.5.0

 [Line 1, Column 2]
  unknown block tag: verbatim

(error) v1.4.2

Unexpected tag "verbatim".

v1.24.2

{# test 

v0.9.5

{# test

Template


{% verbatim %}{{ varX }}{% endverbatim %}
{{ varY }}
{% verbatim %}
    {{ varZ }}
{% endverbatim %}

Data

{
  "varX": "value X",
  "varY": "value Y",
  "varZ": "value Z"
}

v1.10.1


{{ varX }}
value Y

    {{ varZ }}

(error) v2.8.0

Encountered unknown tag 'verbatim'.

(error) v3.0.6

Liquid syntax error: Unknown tag 'verbatim'

(error) v2.5.0

 [Line 2, Column 2]
  unknown block tag: verbatim

(error) v1.4.2

Unexpected tag "verbatim".

v1.24.2


{{ varX }}
value Y

    {{ varZ }}

v0.9.5


{{ varX }}
value Y
{{ varZ }}

Template

{% verbatim %}{{ varX }}{% endverbatim %}{{ varY }}{% verbatim %}{{ varZ }}{% endverbatim %}

Data

{
  "varX": "value X",
  "varY": "value Y",
  "varZ": "value Z"
}

v1.10.1

{{ varX }}value Y{{ varZ }}

(error) v2.8.0

Encountered unknown tag 'verbatim'.

(error) v3.0.6

Liquid syntax error: Unknown tag 'verbatim'

(error) v2.5.0

 [Line 1, Column 2]
  unknown block tag: verbatim

(error) v1.4.2

Unexpected tag "verbatim".

v1.24.2

{{ varX }}value Y{{ varZ }}

v0.9.5

{{ varX }}value Y{{ varZ }}

Template

{% verbatim %}{% verbatim %}{{ x }{% endverbatim %}{% endverbatim %}

(error) v1.10.1

Invalid block tag on line 1: 'endverbatim'. Did you forget to register or load this tag?

(error) v2.8.0

Encountered unknown tag 'verbatim'.

(error) v3.0.6

Liquid syntax error: Unknown tag 'verbatim'

(error) v2.5.0

 [Line 1, Column 2]
  unknown block tag: verbatim

(error) v1.4.2

Unexpected tag "verbatim".

(error) v1.24.2

Unknown "endverbatim" tag.

(error) v0.9.5

TypeError: Cannot read property 'forEach' of undefined
   
   
   
   
   
   
   

Template

{% verbatim %}hello {{ {% %} }}{% endverbatim %}

v1.10.1

hello {{ {% %} }}

(error) v2.8.0

Encountered unknown tag 'verbatim'.

(error) v3.0.6

Liquid syntax error: Unknown tag 'verbatim'

(error) v2.5.0

 [Line 1, Column 2]
  unknown block tag: verbatim

(error) v1.4.2

Unexpected tag "verbatim".

v1.24.2

hello {{ {% %} }}

v0.9.5

hello {{ {% %} }}

Template

{% verbatim %}abc{% endverbatim %}

v1.10.1

abc

(error) v2.8.0

Encountered unknown tag 'verbatim'.

(error) v3.0.6

Liquid syntax error: Unknown tag 'verbatim'

(error) v2.5.0

 [Line 1, Column 2]
  unknown block tag: verbatim

(error) v1.4.2

Unexpected tag "verbatim".

v1.24.2

abc

v0.9.5

abc