update comrak
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2024-07-13 00:29:07 +02:00
parent 485797c64f
commit deb54372a2
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 4 additions and 3 deletions

4
Cargo.lock generated
View file

@ -709,9 +709,9 @@ checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422"
[[package]] [[package]]
name = "comrak" name = "comrak"
version = "0.25.0" version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "777213abd0d8d131953e66f72837f3298dcba9ca9ade0fb1ab8f16ee4aa867dc" checksum = "395ab67843c57df5a4ee29d610740828dbc928cc64ecf0f2a1d5cd0e98e107a9"
dependencies = [ dependencies = [
"caseless", "caseless",
"clap", "clap",

View file

@ -21,7 +21,7 @@ serde_json = "1.0"
minify-html = "0.15" minify-html = "0.15"
minify-js = "0.6" minify-js = "0.6"
glob = "0.3" glob = "0.3"
comrak = "0.25" comrak = "0.26"
reqwest = { version = "0.12", features = ["json"] } reqwest = { version = "0.12", features = ["json"] }
chrono = { version = "0.4.38", default-features = false, features = ["clock"]} chrono = { version = "0.4.38", default-features = false, features = ["clock"]}
chrono-tz = "0.9" chrono-tz = "0.9"

View file

@ -161,6 +161,7 @@ pub fn get_options<'a>() -> ComrakOptions<'a> {
options.render.escape = false; options.render.escape = false;
options.render.list_style = ListStyleType::Dash; options.render.list_style = ListStyleType::Dash;
options.render.sourcepos = false; options.render.sourcepos = false;
options.render.experimental_inline_sourcepos = false;
options.render.escaped_char_spans = false; options.render.escaped_char_spans = false;
options.render.ignore_setext = true; options.render.ignore_setext = true;
options.render.ignore_empty_links = true; options.render.ignore_empty_links = true;