aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askama/src/lib.rs6
-rw-r--r--askama_shared/src/lib.rs2
2 files changed, 4 insertions, 4 deletions
diff --git a/askama/src/lib.rs b/askama/src/lib.rs
index ad0c85f..08a7112 100644
--- a/askama/src/lib.rs
+++ b/askama/src/lib.rs
@@ -120,9 +120,9 @@
//! the use of that escaper. Extensions are matched in order, starting with the
//! first escaper configured and ending with the default escapers for HTML
//! (extensions `html`, `htm`, `xml`, `j2`, `jinja`, `jinja2`) and plain text
-//! (no escaping; `none`, `txt`, and the empty string). Note that this means
-//! you can also define other escapers that match different extensions to the
-//! same escaper.
+//! (no escaping; `md`, `yml`, `none`, `txt`, and the empty string). Note that
+//! this means you can also define other escapers that match different extensions
+//! to the same escaper.
//!
//! ## Variables
//!
diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs
index 8014b88..0d68120 100644
--- a/askama_shared/src/lib.rs
+++ b/askama_shared/src/lib.rs
@@ -404,7 +404,7 @@ mod tests {
vec![
(str_set(&["js"]), "::askama::Js".into()),
(str_set(&["html", "htm", "xml"]), "::askama::Html".into()),
- (str_set(&["none", "txt", ""]), "::askama::Text".into()),
+ (str_set(&["md", "yml", "none", "txt", ""]), "::askama::Text".into()),
(str_set(&["j2", "jinja", "jinja2"]), "::askama::Html".into()),
]
);