Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Fix OpenGraph/LinkedData embeds having incorrectly-generated iframes (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Nov 13, 2021
1 parent e510302 commit ef8deb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/link_details_extractor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def type
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
Expand Down

0 comments on commit ef8deb0

Please sign in to comment.