Merge pull request 'feat: group images into a gallery' (#639) from fernandoporazzi/snort:group-post-images into main
Reviewed-on: #639
This commit is contained in:
@ -189,7 +189,7 @@ export function transformText(body: string, tags: Array<Array<string>>) {
|
||||
fragments = fragments
|
||||
.map(a => {
|
||||
if (typeof a === "string") {
|
||||
if (a.length > 0) {
|
||||
if (a.trim().length > 0) {
|
||||
return { type: "text", content: a } as ParsedFragment;
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user