mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-15 19:48:23 +00:00
fix: trim content before converting to spans
This commit is contained in:
@ -31,7 +31,7 @@ List<InlineSpan> textToSpans(
|
||||
List<List<String>> tags,
|
||||
String pubkey,
|
||||
) {
|
||||
return _buildContentSpans(content, tags);
|
||||
return _buildContentSpans(content.trim(), tags);
|
||||
}
|
||||
|
||||
/// Content parser from camelus
|
||||
|
Reference in New Issue
Block a user