Skip to content

Commit

Permalink
closes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
guppy0130 committed Jul 21, 2021
1 parent ca66592 commit 592bd6a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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
@@ -1,6 +1,6 @@
[package]
name = "markrust"
version = "1.2.3"
version = "1.3.0"
authors = ["guppy0130 <guppy0130@yahoo.com>"]
edition = "2018"
description = "Converts Markdown to Atlassian markup"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Convert from Markdown to Atlassian markup.

```console
$ ./markrust -h
markrust 1.2.3
markrust 1.3.0
guppy0130 <guppy0130@yahoo.com>
Converts Markdown to Atlassian markup

Expand Down
3 changes: 2 additions & 1 deletion src/renderer/jira.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ where
self.inline_code = true;
}
Event::SoftBreak => {
self.write_newline()?;
// a softbreak in GH markdown is not a newline in Atlassian markup
self.write(" ")?;
}
Event::HardBreak => {
self.write_newline()?;
Expand Down

0 comments on commit 592bd6a

Please sign in to comment.