aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama/Cargo.toml2
-rw-r--r--askama/src/filters/mod.rs3
-rw-r--r--book/src/filters.md2
-rw-r--r--testing/Cargo.toml2
4 files changed, 5 insertions, 4 deletions
diff --git a/askama/Cargo.toml b/askama/Cargo.toml
index f580864..f421935 100644
--- a/askama/Cargo.toml
+++ b/askama/Cargo.toml
@@ -39,7 +39,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.13", optional = true, default-features = false }
+comrak = { version = "0.14", optional = true, default-features = false }
dep_humansize = { package = "humansize", version = "1.1.0", 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 4350d70..b9f1fc2 100644
--- a/askama/src/filters/mod.rs
+++ b/askama/src/filters/mod.rs
@@ -351,7 +351,7 @@ where
{
use comrak::{
markdown_to_html, ComrakExtensionOptions, ComrakOptions, ComrakParseOptions,
- ComrakRenderOptions,
+ ComrakRenderOptions, ListStyleType,
};
const DEFAULT_OPTIONS: ComrakOptions = ComrakOptions {
@@ -380,6 +380,7 @@ where
hardbreaks: false,
github_pre_lang: false,
width: 0,
+ list_style: ListStyleType::Dash,
},
};
diff --git a/book/src/filters.md b/book/src/filters.md
index f8e30a7..ce1ff6e 100644
--- a/book/src/filters.md
+++ b/book/src/filters.md
@@ -374,7 +374,7 @@ Ugly: <script>var data = '{{data|json|safe}}';</script>
[#markdown]: #markdown
Enabling the `markdown` feature will enable the use of the `markdown` filter.
-This will render a value using a [GitHub flavored CommonMark](https://docs.rs/comrak/0.12.*/comrak/) syntax.
+This will render a value using a [GitHub flavored CommonMark](https://docs.rs/comrak/0.14.*/comrak/) syntax.
By default the extensions “autolink”, “strikethrough”, “tagfilter”, and “table” are enabled.
Any raw HTML gets escaped.
diff --git a/testing/Cargo.toml b/testing/Cargo.toml
index 77ab25e..3dac5e8 100644
--- a/testing/Cargo.toml
+++ b/testing/Cargo.toml
@@ -13,7 +13,7 @@ markdown = ["comrak", "askama/markdown"]
[dependencies]
askama = { path = "../askama", version = "0.11.0-beta.1" }
-comrak = { version = "0.13", default-features = false, optional = true }
+comrak = { version = "0.14", default-features = false, optional = true }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]