lib/onebox/engine/reddit_image_onebox.rb in onebox-1.9.17 vs lib/onebox/engine/reddit_image_onebox.rb in onebox-1.9.18
- old
+ new
@@ -12,13 +12,13 @@
if raw[:type] == "image"
<<-HTML
<aside class="onebox reddit">
<header class="source">
<img src="#{raw[:favicon]}" class="site-icon" width="16" height="16">
- <a href="#{raw[:url]}" target="_blank" rel="nofollow noopener">#{raw[:site_name]}</a>
+ <a href="#{raw[:url]}" target="_blank" rel="nofollow ugc noopener">#{raw[:site_name]}</a>
</header>
<article class="onebox-body">
- <h3><a href="#{raw[:url]}" target="_blank" rel="nofollow noopener">#{raw[:title]}</a></h3>
+ <h3><a href="#{raw[:url]}" target="_blank" rel="nofollow ugc noopener">#{raw[:title]}</a></h3>
<div class="scale-images">
<img src="#{raw[:image]}" class="scale-image"/>
</div>
<div class="description"><p>#{raw[:description]}</p></div>
</article>