Closed lfdebrux closed 4 years ago
govuk-frontend 3.8.0 includes use of the JavaScript strict equality operator ===, see https://github.com/alphagov/govuk-frontend/commit/9a8b9f0b4c4c77ae3b8bba7762041dffb9d64eba
===
This confuses the Jinja parser and causes the syntax error jinja2.exceptions.TemplateSyntaxError: unexpected '='.
jinja2.exceptions.TemplateSyntaxError: unexpected '='
Interesting Nunjucks doesn't have Jinja tests, instead relying on pure JavaScript conditionals.
govuk-frontend 3.8.0 includes use of the JavaScript strict equality operator
===
, see https://github.com/alphagov/govuk-frontend/commit/9a8b9f0b4c4c77ae3b8bba7762041dffb9d64ebaThis confuses the Jinja parser and causes the syntax error
jinja2.exceptions.TemplateSyntaxError: unexpected '='
.