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
|
return html
|
||||||
}
|
}
|
||||||
|
|
||||||
if let mediaEmbedContent = mediaEmbed?.content {
|
if !url.hasPrefix("https://imgur.com"), let mediaEmbedContent = mediaEmbed?.content {
|
||||||
return mediaEmbedContent
|
return mediaEmbedContent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user