templates/gitlabblob.mustache in onebox-1.9.27.1 vs templates/gitlabblob.mustache in onebox-1.9.27.2
- old
+ new
@@ -1,6 +1,6 @@
-<h4><a href="{{link}}" target="_blank">{{title}}</a></h4>
+<h4><a href="{{link}}" target="_blank" rel="noopener">{{title}}</a></h4>
{{^has_lines}}
<pre><code class='{{lang}}'>{{content}}</code></pre>
{{/has_lines}}
{{#has_lines}}
@@ -8,7 +8,7 @@
{{#lines}}<li{{#selected}} class="selected"{{/selected}}>{{data}}</li>{{/lines}}
</ol></code></pre>
{{/has_lines}}
{{#truncated}}
- This file has been truncated. <a href="{{link}}" target="_blank">show original</a>
+ This file has been truncated. <a href="{{link}}" target="_blank" rel="noopener">show original</a>
{{/truncated}}