From c131154cb1eaec52110e27fcdfb570308cc8a77e Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Mon, 30 Jan 2023 14:29:10 +0100 Subject: Update comrak dependency to 0.16 --- askama/Cargo.toml | 2 +- askama/src/filters/mod.rs | 1 + testing/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/askama/Cargo.toml b/askama/Cargo.toml index 7995969..95a2043 100644 --- a/askama/Cargo.toml +++ b/askama/Cargo.toml @@ -41,7 +41,7 @@ mime_guess = [] [dependencies] askama_derive = { version = "0.12.0", path = "../askama_derive" } askama_escape = { version = "0.10.3", path = "../askama_escape" } -comrak = { version = "0.15", optional = true, default-features = false } +comrak = { version = "0.16", optional = true, default-features = false } dep_humansize = { package = "humansize", version = "2", optional = true } dep_num_traits = { package = "num-traits", version = "0.2.6", optional = true } percent-encoding = { version = "2.1.0", optional = true } diff --git a/askama/src/filters/mod.rs b/askama/src/filters/mod.rs index aed34a1..f76a463 100644 --- a/askama/src/filters/mod.rs +++ b/askama/src/filters/mod.rs @@ -374,6 +374,7 @@ where // default: smart: false, default_info_string: None, + relaxed_tasklist_matching: false, }, render: ComrakRenderOptions { unsafe_: false, diff --git a/testing/Cargo.toml b/testing/Cargo.toml index e1f1bb4..c8326e8 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -14,7 +14,7 @@ markdown = ["comrak", "askama/markdown"] [dependencies] askama = { path = "../askama", version = "0.11.2" } -comrak = { version = "0.15", default-features = false, optional = true } +comrak = { version = "0.16", default-features = false, optional = true } serde_json = { version = "1.0", optional = true } [dev-dependencies] -- cgit