Skip to content

Commit e52e0de

Browse files
committed
Auto merge of #14037 - hi-rustin:rustin-patch-pulldown-cmark, r=epage
chore(deps): update rust crate pulldown-cmark to 0.11.0
2 parents dba851d + b8b84ce commit e52e0de

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pathdiff = "0.2.1"
7474
percent-encoding = "2.3.1"
7575
pkg-config = "0.3.30"
7676
proptest = "1.4.0"
77-
pulldown-cmark = { version = "0.10.3", default-features = false, features = ["html"] }
77+
pulldown-cmark = { version = "0.11.0", default-features = false, features = ["html"] }
7878
rand = "0.8.5"
7979
regex = "1.10.4"
8080
rusqlite = { version = "0.31.0", features = ["bundled"] }

crates/mdman/src/format/man.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl<'e> ManRenderer<'e> {
140140
suppress_paragraph = true;
141141
}
142142
}
143-
Tag::BlockQuote => {
143+
Tag::BlockQuote(_kind) => {
144144
self.flush();
145145
// .RS = move left margin over 3
146146
// .ll = shrink line length
@@ -356,6 +356,8 @@ impl<'e> ManRenderer<'e> {
356356
}
357357
Event::TaskListMarker(_b) => unimplemented!(),
358358
Event::InlineHtml(..) => unimplemented!(),
359+
Event::InlineMath(..) => unimplemented!(),
360+
Event::DisplayMath(..) => unimplemented!(),
359361
}
360362
}
361363
Ok(())

crates/mdman/src/format/text.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ impl<'e> TextRenderer<'e> {
137137
self.indent = (level as usize - 1) * 3 + 1;
138138
}
139139
}
140-
Tag::BlockQuote => {
140+
Tag::BlockQuote(_kind) => {
141141
self.indent += 3;
142142
}
143143
Tag::CodeBlock(_kind) => {
@@ -347,6 +347,8 @@ impl<'e> TextRenderer<'e> {
347347
}
348348
Event::TaskListMarker(_b) => unimplemented!(),
349349
Event::InlineHtml(..) => unimplemented!(),
350+
Event::InlineMath(..) => unimplemented!(),
351+
Event::DisplayMath(..) => unimplemented!(),
350352
}
351353
}
352354
Ok(())

0 commit comments

Comments
 (0)