From 900054bab063bc26f7f534d45b70aca17c86f2a3 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sat, 5 Apr 2025 10:46:46 -0600 Subject: [PATCH] fix missing newline in community note in embeds --- src/views/mastoapi.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/mastoapi.nim b/src/views/mastoapi.nim index 5abe66f..1d11e74 100644 --- a/src/views/mastoapi.nim +++ b/src/views/mastoapi.nim @@ -43,7 +43,7 @@ proc formatTweetForMastoAPI*(tweet: Tweet, cfg: Config, prefs: Prefs): string = let note = get(tweet.birdwatch) noteContent = replaceUrls(note.text, prefs) - content &= &"\n
ⓘ {note.title}\n{noteContent}
" + content &= &"\n\n
ⓘ {note.title}\n{noteContent}
" result = content.replace("\n", "
")