mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-28 13:30:59 +00:00

Do not attempt to parse escape sequences thoroughly. Instead let the Rust compiler to check the string literals and provide nice error messages if necessary.
3 lines
144 B
HTML
3 lines
144 B
HTML
{{ '\x41' }}{{ '\n' }}{{ '\r' }}{{ '\t' }}{{ '\\' }}{{ '\0' }}{{ '\u{2665}' }}{{ '\'' }}{{ '\"' }}{{ '"' }}
|
|
{{ "\x41\n\r\t\\\0\u{2665}\'\"'" }}
|