From 239f59b9b1799e49fcdf34aa50ac344c10647a29 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 19 May 2023 16:04:01 +0200 Subject: Upgrade to comrak 0.18 --- 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 95554da..f70902b 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.17", optional = true, default-features = false } +comrak = { version = "0.18", 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 642641a..a7aa62b 100644 --- a/askama/src/filters/mod.rs +++ b/askama/src/filters/mod.rs @@ -385,6 +385,7 @@ where width: 0, unsafe_: false, list_style: ListStyleType::Dash, + sourcepos: false, }, }; diff --git a/testing/Cargo.toml b/testing/Cargo.toml index 6e973a4..c1d5ecc 100644 --- a/testing/Cargo.toml +++ b/testing/Cargo.toml @@ -14,7 +14,7 @@ markdown = ["comrak", "askama/markdown"] [dependencies] askama = { path = "../askama", version = "0.12" } -comrak = { version = "0.17", default-features = false, optional = true } +comrak = { version = "0.18", default-features = false, optional = true } serde_json = { version = "1.0", optional = true } [dev-dependencies] -- cgit