Skip to content

Commit f7ce65a

Browse files
committed
chore(deps): update comrak to 0.31
1 parent 5f86fa2 commit f7ce65a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Diff for: Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: crates/rari-md/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ rari-types.workspace = true
1414
itertools.workspace = true
1515
base64.workspace = true
1616

17-
comrak = { version = "0.30", default-features = false }
17+
comrak = { version = "0.31", default-features = false }

Diff for: crates/rari-md/src/html.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ impl<'o> HtmlFormatter<'o> {
527527
self.cr()?;
528528
self.output.write_all(b"<dl")?;
529529
self.render_sourcepos(node)?;
530-
self.output.write_all(b">")?;
530+
self.output.write_all(b">\n")?;
531531
} else {
532532
self.output.write_all(b"</dl>\n")?;
533533
}
@@ -740,6 +740,7 @@ impl<'o> HtmlFormatter<'o> {
740740
.map(|n| n.data.borrow().value.clone())
741741
{
742742
Some(NodeValue::List(nl)) => nl.tight,
743+
Some(NodeValue::DescriptionItem(nd)) => nd.tight,
743744
_ => false,
744745
};
745746

0 commit comments

Comments
 (0)