github.com/google/go-safeweb@v0.0.0-20231219055052-64d8cfc90fbb/safehttp/plugins/htmlinject/testdata/first.want (about)

     1  <html>
     2  <head>
     3  <link rel="stylesheet" href="styles.css">
     4  <link nonce="{{CSPNonce}}" rel=preload as="script" src="gopher.js">
     5  <style nonce="{{CSPNonce}}">
     6  h1 {
     7    border: 5px solid yellow;
     8  }
     9  </style>
    10  </head>
    11  <body>
    12  <script nonce="{{CSPNonce}}" type="application/javascript">alert("script")</script>
    13  <form><input type="hidden" name="xsrf-token" value="{{XSRFToken}}">
    14    First name:<br>
    15    <input type="text" name="firstname"><br>
    16    Last name:<br>
    17    <input type="text" name="lastname">
    18  </form>
    19  </body>
    20  </html>