Bump pulldown-cmark-to-cmark

This commit is contained in:
Laurențiu Nicola 2021-12-04 15:21:04 +02:00
parent 076f2247f2
commit b7368d34a6
3 changed files with 5 additions and 5 deletions

4
Cargo.lock generated
View file

@ -1229,9 +1229,9 @@ dependencies = [
[[package]]
name = "pulldown-cmark-to-cmark"
version = "6.0.4"
version = "7.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f5925e2c68fb0c3c189cd0f6bbcf1e16402a070d4fcaf7600e239e8302dd0e8"
checksum = "2d85e607de0249c2b5041e38de8684b00b62a64edee60bfcd85c153031a9d658"
dependencies = [
"pulldown-cmark",
]

View file

@ -16,7 +16,7 @@ itertools = "0.10.0"
tracing = "0.1"
rustc-hash = "1.1.0"
oorandom = "11.1.2"
pulldown-cmark-to-cmark = "6.0.0"
pulldown-cmark-to-cmark = "7.1"
pulldown-cmark = { version = "0.8.0", default-features = false }
url = "2.1.1"
dot = "0.1.4"

View file

@ -62,7 +62,7 @@ pub(crate) fn rewrite_links(db: &RootDatabase, markdown: &str, definition: Defin
doc,
&mut out,
None,
CMarkOptions { code_block_backticks: 3, ..Default::default() },
CMarkOptions { code_block_token_count: 3, ..Default::default() },
)
.ok();
out
@ -98,7 +98,7 @@ pub(crate) fn remove_links(markdown: &str) -> String {
doc,
&mut out,
None,
CMarkOptions { code_block_backticks: 3, ..Default::default() },
CMarkOptions { code_block_token_count: 3, ..Default::default() },
)
.ok();
out