mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Change to never link out to Twitter for photos that are inlined.
This commit is contained in:
@@ -35,13 +35,7 @@ struct TwitterExtendedMedia: Codable {
|
||||
|
||||
switch type {
|
||||
case "photo":
|
||||
if let url = url {
|
||||
html += "<a href=\"\(url)\">"
|
||||
html += renderPhotoAsHTML()
|
||||
html += "</a>"
|
||||
} else {
|
||||
html += renderPhotoAsHTML()
|
||||
}
|
||||
html += renderPhotoAsHTML()
|
||||
case "video", "animated_gif":
|
||||
html += renderVideoAsHTML()
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user