diff options
| author | Fuwn <[email protected]> | 2022-06-02 04:09:00 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-06-02 04:09:00 +0000 |
| commit | 42d1f150dd51422dd60150eedda5b64b3ee514e4 (patch) | |
| tree | 96234c90f051fdb05e13b6e91c9b1f6d6d682455 | |
| parent | docs(ast): add comment to ast struct (diff) | |
| download | germ-42d1f150dd51422dd60150eedda5b64b3ee514e4.tar.xz germ-42d1f150dd51422dd60150eedda5b64b3ee514e4.zip | |
fix(markdown): no double newline on whitespace
| -rw-r--r-- | src/convert/markdown.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/convert/markdown.rs b/src/convert/markdown.rs index c368973..c6899b7 100644 --- a/src/convert/markdown.rs +++ b/src/convert/markdown.rs @@ -69,7 +69,7 @@ pub fn convert(source: &[Node]) -> String { text )); } - Node::Whitespace => markdown.push_str("\n\n"), + Node::Whitespace => markdown.push_str("\n"), } } |