File: 0022-pulldown-cmark-0.11.patch

package info (click to toggle)
rustup 1.27.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,636 kB
  • sloc: sh: 856; python: 233; javascript: 183; makefile: 27
file content (40 lines) | stat: -rw-r--r-- 1,404 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
This patch is based on the upstream commit described below, adapted for use
in the Debian package by Peter Michael Green.

commit d84c9074d9e03e643e7617dab547527de2fb00fb
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu May 16 13:20:30 2024 +0000

    fix(deps): update rust crate pulldown-cmark to 0.11
    
    Co-authored-by: rami3l <rami3l@outlook.com>

diff --git a/Cargo.toml b/Cargo.toml
index 7875d195..d7a67bca 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -70,1 +70,1 @@
-pulldown-cmark = { version = "0.10", default-features = false }
+pulldown-cmark = { version = "0.11", default-features = false }
diff --git a/src/cli/markdown.rs b/src/cli/markdown.rs
index 67a705c4..b9e3ec58 100644
--- a/src/cli/markdown.rs
+++ b/src/cli/markdown.rs
@@ -131,7 +131,7 @@ impl<'a> LineFormatter<'a> {
             Tag::TableHead => {}
             Tag::TableRow => {}
             Tag::TableCell => {}
-            Tag::BlockQuote => {}
+            Tag::BlockQuote(_) => {}
             Tag::CodeBlock(_) | Tag::HtmlBlock { .. } => {
                 self.wrapper.write_line();
                 self.wrapper.indent += 2;
@@ -219,6 +219,8 @@ impl<'a> LineFormatter<'a> {
             TaskListMarker(true) => {}
             TaskListMarker(false) => {}
             InlineHtml(_) => {}
+            InlineMath(_) => {}
+            DisplayMath(_) => {}
         }
     }
 }