mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-27 13:00:57 +00:00

We adopted `askama_escape` with the other askama crates. It was not updated for quite some time, but still gets 25k+ downloads / day Mon to Fri. This PR re-adds the crate using our current HTML escaping function.
35 lines
707 B
TOML
35 lines
707 B
TOML
[default]
|
|
locale = "en-us"
|
|
|
|
[files]
|
|
extend-exclude = [
|
|
# generated files
|
|
"book/ethicalads-theme.css",
|
|
"fuzzing/fuzz/artifacts/",
|
|
"fuzzing/fuzz/corpus/",
|
|
"target/",
|
|
"askama_parser/tests/*.txt",
|
|
"testing/templates/fuzzed-*",
|
|
# we copied the files verbatim including any typos :)
|
|
"askama_parser/benches",
|
|
"askama_derive_standalone/benches",
|
|
# filler texts
|
|
"*/benches/strings.inc",
|
|
# too many false positives
|
|
"testing/tests/gen_ws_tests.py",
|
|
]
|
|
|
|
[default.extend-words]
|
|
# It's actually called that in the ASCII standard
|
|
Enquiry = "Enquiry"
|
|
|
|
# French words
|
|
exemple = "exemple"
|
|
existant = "existant"
|
|
|
|
# used in tests
|
|
Ba = "Ba"
|
|
fo = "fo"
|
|
Fo = "Fo"
|
|
sur = "sur"
|