diff --git a/Frameworks/Account/FeedProvider/Reddit/RedditLink.swift b/Frameworks/Account/FeedProvider/Reddit/RedditLink.swift
index 3b69f8020..c98a4eb67 100644
--- a/Frameworks/Account/FeedProvider/Reddit/RedditLink.swift
+++ b/Frameworks/Account/FeedProvider/Reddit/RedditLink.swift
@@ -69,10 +69,6 @@ struct RedditLinkData: Codable {
func renderURLAsHTML() -> String? {
guard let url = url else { return nil }
- if !url.hasPrefix("https://imgur.com"), let mediaEmbedContent = mediaEmbed?.content {
- return mediaEmbedContent
- }
-
if url.hasSuffix(".gif") {
return ""
}
@@ -102,6 +98,10 @@ struct RedditLinkData: Codable {
return html
}
+ if let mediaEmbedContent = mediaEmbed?.content {
+ return mediaEmbedContent
+ }
+
if let imageSource = preview?.images?.first?.source, let imageURL = imageSource.url {
var html = "