mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-28 13:30:59 +00:00
20 lines
1.2 KiB
Plaintext
20 lines
1.2 KiB
Plaintext
error: invalid escaper `latex` for `escape` filter. The available extensions are: "", "askama", "htm", "html", "j2", "jinja", "jinja2", "md", "none", "rinja", "svg", "txt", "xml", "yml"
|
|
--> LocalEscaper.html:1:38
|
|
"text|escape(\"latex\")}}`."
|
|
--> tests/ui/no-such-escaper.rs:6:14
|
|
|
|
|
6 | source = r#"In LaTeX you write `{{text}}` like `{{text|escape("latex")}}`."#,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: no escaper defined for extension 'tex'. You can define an escaper in the config file (named `askama.toml` by default). The available extensions are: "", "askama", "htm", "html", "j2", "jinja", "jinja2", "md", "none", "rinja", "svg", "txt", "xml", "yml"
|
|
--> tests/ui/no-such-escaper.rs:14:11
|
|
|
|
|
14 | ext = "tex",
|
|
| ^^^^^
|
|
|
|
error: no escaper defined for extension 'tex'. You can define an escaper in the config file (named `askama.toml` by default). The available extensions are: "", "askama", "htm", "html", "j2", "jinja", "jinja2", "md", "none", "rinja", "svg", "txt", "xml", "yml"
|
|
--> tests/ui/no-such-escaper.rs:22:19
|
|
|
|
|
22 | #[template(path = "latex-file.tex")]
|
|
| ^^^^^^^^^^^^^^^^
|