lib/onebox/engine/giphy_onebox.rb in onebox-1.9.27.1 vs lib/onebox/engine/giphy_onebox.rb in onebox-1.9.27.2
- old
+ new
@@ -11,10 +11,10 @@
def to_html
oembed = get_oembed
<<-HTML
- <a href="#{oembed.url}" target="_blank" class="onebox">
+ <a href="#{oembed.url}" target="_blank" rel="noopener" class="onebox">
<img src="#{oembed.url}" width="#{oembed.width}" height="#{oembed.height}" #{oembed.title_attr}>
</a>
HTML
end