aboutsummaryrefslogtreecommitdiff
path: root/src/ast/macros.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-06-19 07:34:04 +0000
committerFuwn <[email protected]>2024-06-19 07:34:04 +0000
commitfe03915e1bddf286af8ed50a9b69c52a553be5ea (patch)
treecc687ba81d6672c3645eb730fdb18f85ea0e9289 /src/ast/macros.rs
parentfeat: single Node gemtext content conversion (diff)
downloadgerm-fe03915e1bddf286af8ed50a9b69c52a553be5ea.tar.xz
germ-fe03915e1bddf286af8ed50a9b69c52a553be5ea.zip
fix(ast): preserve newline structure at end of gemtext
Diffstat (limited to 'src/ast/macros.rs')
-rw-r--r--src/ast/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/macros.rs b/src/ast/macros.rs
index 086402c..435fd3b 100644
--- a/src/ast/macros.rs
+++ b/src/ast/macros.rs
@@ -26,7 +26,7 @@
/// germ::gemini_to_ast!("=> / A link!").to_gemtext(),
/// // `to_gemtext` appends a newline to all responses, so let's make sure we
/// // account for that.
-/// format!("{}\n", "=> / A link!"),
+/// "=> / A link!",
/// );
#[macro_export]
macro_rules! gemini_to_ast {