fix: trim content before converting to spans

This commit is contained in:
2025-05-16 12:07:53 +01:00
parent 556377263d
commit 244a0aad38

View File

@ -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