Fix OpenGraph/LinkedData embeds having incorrectly-generated iframes (#16978)

main
Claire 3 years ago committed by GitHub
parent e510302a7c
commit ef8deb0878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -91,7 +91,7 @@ class LinkDetailsExtractor
end
def html
player_url.present? ? content_tag(:iframe, src: player_url, width: width, height: height, allowtransparency: 'true', scrolling: 'no', frameborder: '0') : nil
player_url.present? ? content_tag(:iframe, nil, src: player_url, width: width, height: height, allowtransparency: 'true', scrolling: 'no', frameborder: '0') : nil
end
def width

Loading…
Cancel
Save