From 244a0aad3856163311809604a7d1beb1f78c985e Mon Sep 17 00:00:00 2001 From: Kieran Date: Fri, 16 May 2025 12:07:53 +0100 Subject: [PATCH] fix: trim content before converting to spans --- lib/widgets/nostr_text.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/nostr_text.dart b/lib/widgets/nostr_text.dart index bc00b87..82f03ba 100644 --- a/lib/widgets/nostr_text.dart +++ b/lib/widgets/nostr_text.dart @@ -31,7 +31,7 @@ List textToSpans( List> tags, String pubkey, ) { - return _buildContentSpans(content, tags); + return _buildContentSpans(content.trim(), tags); } /// Content parser from camelus