Fix
This commit is contained in:
@@ -139,10 +139,7 @@ final class CachedRemoteImageLoader: ObservableObject {
|
||||
}
|
||||
|
||||
private static func normalizeImageSource(_ value: String?) -> String? {
|
||||
guard var normalized = value?.trimmingCharacters(in: .whitespacesAndNewlines),
|
||||
normalized.isEmpty == false else { return nil }
|
||||
normalized = normalized.replacingOccurrences(of: "\\/", with: "/")
|
||||
return normalized
|
||||
ImageSourceResolver.resolve(value)
|
||||
}
|
||||
|
||||
private static func dataURLCacheKey(_ source: String) -> String {
|
||||
|
||||
Reference in New Issue
Block a user