Skip to content

Commit 1e09715

Browse files
committed
Fix image loading
1 parent 3ae46fd commit 1e09715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MarkdownUI/Shared/MarkdownStore.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@
104104

105105
return (url.relativeString, attachment)
106106
}
107+
.replaceError(with: ("", NSTextAttachment()))
107108
}
108109

109110
return Publishers.MergeMany(textAttachmentPairs)
110111
.collect()
111112
.map { Dictionary($0, uniquingKeysWith: { _, last in last }) }
112-
.replaceError(with: [:])
113113
.eraseToAnyPublisher()
114114
}
115115
}

0 commit comments

Comments
 (0)