templates/githubblob.mustache in onebox-1.9.27.1 vs templates/githubblob.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}}
{{#model_file}}
<iframe class="render-viewer" width="{{width}}" height="{{height}}" src="{{content}}" sandbox="allow-scripts allow-same-origin allow-top-navigation ">
Viewer requires iframe.
</iframe>
@@ -38,7 +38,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}}