From b7108f0f5d7e5a4a2347958f411634bfd291864c Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 1 Apr 2019 21:58:05 +0200 Subject: Add md and yml to non-escaped extensions (fixes #229) --- askama_shared/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_shared') 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()), ] ); -- cgit