aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-03-28 09:40:48 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-03-28 10:11:34 +0200
commit5ff19267021d7d04cd772e8da28446a742a35720 (patch)
tree1f0cfa45e654ad884b0f7e368428fd0b0b2d39c0
parentcd89158870a7489c918f516b46f8f68c424e210e (diff)
downloadaskama-5ff19267021d7d04cd772e8da28446a742a35720.tar.gz
askama-5ff19267021d7d04cd772e8da28446a742a35720.tar.bz2
askama-5ff19267021d7d04cd772e8da28446a742a35720.zip
Update comrak to 0.17
-rw-r--r--askama/Cargo.toml2
-rw-r--r--askama/src/filters/mod.rs3
-rw-r--r--testing/Cargo.toml2
3 files changed, 4 insertions, 3 deletions
diff --git a/askama/Cargo.toml b/askama/Cargo.toml
index 62dfe4b..95554da 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.16", optional = true, default-features = false }
+comrak = { version = "0.17", 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 f76a463..642641a 100644
--- a/askama/src/filters/mod.rs
+++ b/askama/src/filters/mod.rs
@@ -377,12 +377,13 @@ where
relaxed_tasklist_matching: false,
},
render: ComrakRenderOptions {
- unsafe_: false,
escape: true,
// default:
hardbreaks: false,
github_pre_lang: false,
+ full_info_string: false,
width: 0,
+ unsafe_: false,
list_style: ListStyleType::Dash,
},
};
diff --git a/testing/Cargo.toml b/testing/Cargo.toml
index 8a68345..6e973a4 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.16", default-features = false, optional = true }
+comrak = { version = "0.17", default-features = false, optional = true }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]