templates/twitterstatus.mustache in onebox-1.9.27.1 vs templates/twitterstatus.mustache in onebox-1.9.27.2
- old
+ new
@@ -1,12 +1,12 @@
{{#avatar}}<img src="{{avatar}}" class="thumbnail onebox-avatar">{{/avatar}}
-<h4><a href='{{link}}' target='_blank'>{{title}}</a></h4>
+<h4><a href='{{link}}' target='_blank' rel='noopener'>{{title}}</a></h4>
<div class="tweet"> {{{tweet}}}{{#quoted_tweet}}<div class="quoted"><a class="quoted-link" href="{{quoted_link}}"><p class="quoted-title">{{quoted_full_name}} <span>@{{quoted_screen_name}}</span></p></a><div>{{quoted_tweet}}</div></div>{{/quoted_tweet}}</div>
<div class='date'>
- <a href="{{link}}" target="_blank">{{timestamp}}</a>
+ <a href="{{link}}" target="_blank" rel="noopener">{{timestamp}}</a>
{{#likes}}
<span class="like">
<svg viewBox="0 0 512 512" width="14px" height="16px" aria-hidden="true">
<path d="M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"></path>
</svg> {{likes}}