Profile hover cards

This commit is contained in:
2023-10-09 16:32:14 +01:00
parent b62b877f5a
commit 8d882a0844
16 changed files with 184 additions and 75 deletions

View File

@ -233,7 +233,7 @@ export function transformText(body: string, tags: Array<Array<string>>) {
fragments = fragments
.map(a => {
if (typeof a === "string") {
if (a.trim().length > 0) {
if (a.length > 0) {
return { type: "text", content: a } as ParsedFragment;
}
} else {