Skip to content

Commit

Permalink
Bump pulldown-cmark version to 0.9
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <[email protected]>
  • Loading branch information
Rustin170506 committed Sep 20, 2022
1 parent 8f6b536 commit 6be29f6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 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 @@ -43,7 +43,7 @@ opener = "0.5.0"
# Used by `curl` or `reqwest` backend although it isn't imported
# by our rustup.
openssl = {version = "0.10", optional = true}
pulldown-cmark = {version = "0.8", default-features = false}
pulldown-cmark = {version = "0.9", default-features = false}
rand = "0.8"
regex = "1"
remove_dir_all = "0.7.0"
Expand Down
4 changes: 2 additions & 2 deletions src/cli/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl<'a, T: Terminal + io::Write + 'a> LineFormatter<'a, T> {
Tag::Paragraph => {
self.wrapper.write_line();
}
Tag::Heading(_level) => {
Tag::Heading(_level,_identifier,_classes) => {
self.push_attr(Attr::Bold);
self.wrapper.write_line();
}
Expand Down Expand Up @@ -160,7 +160,7 @@ impl<'a, T: Terminal + io::Write + 'a> LineFormatter<'a, T> {
Tag::Paragraph => {
self.wrapper.write_line();
}
Tag::Heading(_level) => {
Tag::Heading(_level,_identifier,_classes) => {
self.wrapper.write_line();
self.pop_attr();
}
Expand Down

0 comments on commit 6be29f6

Please sign in to comment.