Exclude imgur from embedded media object output
This commit is contained in:
parent
9e235564af
commit
366d24711a
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue