Skip to content
Snippets Groups Projects
Unverified Commit ef8deb08 authored by Claire's avatar Claire Committed by GitHub
Browse files

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

parent e510302a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment