mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Exclude imgur from embedded media object output
This commit is contained in:
@@ -98,7 +98,7 @@ struct RedditLinkData: Codable {
|
||||
return html
|
||||
}
|
||||
|
||||
if let mediaEmbedContent = mediaEmbed?.content {
|
||||
if !url.hasPrefix("https://imgur.com"), let mediaEmbedContent = mediaEmbed?.content {
|
||||
return mediaEmbedContent
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user