Skip to content

MiniJinja does not support \x00 escape sequence #803

@mitsuhiko

Description

@mitsuhiko

Description

MiniJinja does not support '\0', '\x42', '\xab' etc. as escape sequence.

Reproduction steps

  1. '{{ ["\x00"] }}' etc.

Additional helpful information:

  • Version of minijinja: 2.10.2
  • Version of rustc: 1.87.0

What did you expect

I expected this to be a null character just like in Jinja2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjinja-compatJinja2 compatibility issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions