diff options
| author | Fuwn <[email protected]> | 2022-06-02 07:31:20 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-06-02 07:31:20 +0000 |
| commit | 53f1753db91fe9347155f8192052e30baaad9cbc (patch) | |
| tree | f7053185a4a2e20a9a086ab96153bc074f7e5672 /src/convert | |
| parent | docs(cargo): bump 0.2.3 -> 0.2.4 (diff) | |
| download | germ-53f1753db91fe9347155f8192052e30baaad9cbc.tar.xz germ-53f1753db91fe9347155f8192052e30baaad9cbc.zip | |
feat(ast): Ast::to_gemtext
Diffstat (limited to 'src/convert')
| -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 c6899b7..a38da9f 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"), + Node::Whitespace => markdown.push('\n'), } } |