Skip to content

Commit

Permalink
Auto merge of #14037 - hi-rustin:rustin-patch-pulldown-cmark, r=epage
Browse files Browse the repository at this point in the history
chore(deps): update rust crate pulldown-cmark to 0.11.0
  • Loading branch information
bors committed Jun 10, 2024
2 parents dba851d + b8b84ce commit e52e0de
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ pathdiff = "0.2.1"
percent-encoding = "2.3.1"
pkg-config = "0.3.30"
proptest = "1.4.0"
pulldown-cmark = { version = "0.10.3", default-features = false, features = ["html"] }
pulldown-cmark = { version = "0.11.0", default-features = false, features = ["html"] }
rand = "0.8.5"
regex = "1.10.4"
rusqlite = { version = "0.31.0", features = ["bundled"] }
Expand Down
4 changes: 3 additions & 1 deletion crates/mdman/src/format/man.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl<'e> ManRenderer<'e> {
suppress_paragraph = true;
}
}
Tag::BlockQuote => {
Tag::BlockQuote(_kind) => {
self.flush();
// .RS = move left margin over 3
// .ll = shrink line length
Expand Down Expand Up @@ -356,6 +356,8 @@ impl<'e> ManRenderer<'e> {
}
Event::TaskListMarker(_b) => unimplemented!(),
Event::InlineHtml(..) => unimplemented!(),
Event::InlineMath(..) => unimplemented!(),
Event::DisplayMath(..) => unimplemented!(),
}
}
Ok(())
Expand Down
4 changes: 3 additions & 1 deletion crates/mdman/src/format/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ impl<'e> TextRenderer<'e> {
self.indent = (level as usize - 1) * 3 + 1;
}
}
Tag::BlockQuote => {
Tag::BlockQuote(_kind) => {
self.indent += 3;
}
Tag::CodeBlock(_kind) => {
Expand Down Expand Up @@ -347,6 +347,8 @@ impl<'e> TextRenderer<'e> {
}
Event::TaskListMarker(_b) => unimplemented!(),
Event::InlineHtml(..) => unimplemented!(),
Event::InlineMath(..) => unimplemented!(),
Event::DisplayMath(..) => unimplemented!(),
}
}
Ok(())
Expand Down

0 comments on commit e52e0de

Please sign in to comment.