Skip to content

Commit d9f1e62

Browse files
committed
feat: add noopener to the reference link
1 parent 3d42606 commit d9f1e62

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

crypto/index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<h1>HTML5 Crypto API</h1>
1818
<p>Encrypt text using the Web Crypto API</p>
1919
</header>
20-
<form onsubmit="return false">
20+
<form>
2121
<div class="grid">
2222
<label for="text">
2323
Text to encrypt
@@ -40,8 +40,11 @@ <h1>HTML5 Crypto API</h1>
4040
</article>
4141
<footer>
4242
<small>
43-
Using <a href="https://picocss.com" target="_blank">PicoCSS</a> for
44-
styling
43+
Using
44+
<a rel="noopener" href="https://picocss.com" target="_blank"
45+
>PicoCSS</a
46+
>
47+
for styling
4548
</small>
4649
</footer>
4750
</main>

0 commit comments

Comments
 (0)