diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2019-04-01 21:58:05 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2019-04-01 21:58:05 +0200 |
commit | b7108f0f5d7e5a4a2347958f411634bfd291864c (patch) | |
tree | 771d93e956d42f05aa1fce7d7e5a707d5e4cb1b7 /askama_shared | |
parent | d1b47f8908f7ca71da1f767432bb33cb87bbee14 (diff) | |
download | askama-b7108f0f5d7e5a4a2347958f411634bfd291864c.tar.gz askama-b7108f0f5d7e5a4a2347958f411634bfd291864c.tar.bz2 askama-b7108f0f5d7e5a4a2347958f411634bfd291864c.zip |
Add md and yml to non-escaped extensions (fixes #229)
Diffstat (limited to 'askama_shared')
-rw-r--r-- | askama_shared/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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()), ] ); |