aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-06-02 04:09:00 +0000
committerFuwn <[email protected]>2022-06-02 04:09:00 +0000
commit42d1f150dd51422dd60150eedda5b64b3ee514e4 (patch)
tree96234c90f051fdb05e13b6e91c9b1f6d6d682455
parentdocs(ast): add comment to ast struct (diff)
downloadgerm-42d1f150dd51422dd60150eedda5b64b3ee514e4.tar.xz
germ-42d1f150dd51422dd60150eedda5b64b3ee514e4.zip
fix(markdown): no double newline on whitespace
-rw-r--r--src/convert/markdown.rs2
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"),
}
}