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

lolsob-rspec
Claire 2021-11-13 03:30:27 +01:00 committed by GitHub
parent 786e5e634c
commit fdfcc4fcb7
1 changed files with 1 additions and 1 deletions

View File

@ -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