diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-11-13 03:30:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-13 03:30:27 +0100 |
commit | ef8deb08784948975f59ce2311b79e5ac85b1307 (patch) | |
tree | 59a1ed9dd82a0dd8d629258334cc54a604bfea6d /app/lib | |
parent | e510302a7ccd3fe78327d0f1aeaaec65ddfd269d (diff) |
Fix OpenGraph/LinkedData embeds having incorrectly-generated iframes (#16978)
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/link_details_extractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/link_details_extractor.rb b/app/lib/link_details_extractor.rb index 9df8a1320..3876173e0 100644 --- a/app/lib/link_details_extractor.rb +++ b/app/lib/link_details_extractor.rb @@ -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 |