diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-05-19 16:04:01 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-05-20 08:17:35 +0200 |
commit | 239f59b9b1799e49fcdf34aa50ac344c10647a29 (patch) | |
tree | a03ed545bf50ae3f5d451489f2fcb41c1eaa3a0c | |
parent | 1856c4b57ca7ab706552e2c47f550c86e8999e7c (diff) | |
download | askama-239f59b9b1799e49fcdf34aa50ac344c10647a29.tar.gz askama-239f59b9b1799e49fcdf34aa50ac344c10647a29.tar.bz2 askama-239f59b9b1799e49fcdf34aa50ac344c10647a29.zip |
Upgrade to comrak 0.18
-rw-r--r-- | askama/Cargo.toml | 2 | ||||
-rw-r--r-- | askama/src/filters/mod.rs | 1 | ||||
-rw-r--r-- | 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] |