Skip to content

Commit

Permalink
fix copy support
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hardman <[email protected]>
  • Loading branch information
dhh1128 committed Sep 6, 2024
1 parent be4d85a commit 444c271
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions form.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@
}
</script>

<label for="ïnput">Input (arbitrary text)</label>
<label class="copier" for="ïnput">Input (arbitrary text)</label>
<textarea id="input" rows="10" cols="80" placeholder="Enter text to canonicalize" maxlength="16384" onchange="reset()"></textarea>
<button onclick="cqt()">Canonicalize</button><br>
<label for="output">Output (canonicalized)</label>
<label class="copier" for="output">Output (canonicalized)</label>
<textarea id="output" rows="10" cols="80" placeholder="Canonicalized text will appear here" readonly></textarea>
<label for="blake3cesr">Blake3 of output (<a href="https://trustoverip.github.io/tswg-cesr-specification" target="_cesr">CESR</a>)</label>
<label class="copier" for="blake3cesr">Blake3 of output (<a href="https://trustoverip.github.io/tswg-cesr-specification" target="_cesr">CESR</a>)</label>
<textarea id="blake3cesr" rows="1" cols="80" placeholder="Blake3 hash will appear here" readonly></textarea>
<label for="blake3">Blake3 of output (hex)</label>
<label class="copier" for="blake3">Blake3 of output (hex)</label>
<textarea id="blake3" rows="1" cols="80" placeholder="Blake3 hash will appear here" readonly></textarea>
<label" for="sha256cesr">SHA2-256 of output (<a href="https://trustoverip.github.io/tswg-cesr-specification" target="_cesr">CESR</a>)</label>
<label class="copier" for="sha256cesr">SHA2-256 of output (<a href="https://trustoverip.github.io/tswg-cesr-specification" target="_cesr">CESR</a>)</label>
<textarea id="sha256cesr" rows="1" cols="80" placeholder="SHA256 hash will appear here" readonly></textarea>
<label for="sha256">SHA2-256 of output (hex)</label>
<label class="copier" for="sha256">SHA2-256 of output (hex)</label>
<textarea id="sha256" rows="1" cols="80" placeholder="SHA256 hash will appear here" readonly></textarea>

<script>
Expand Down

0 comments on commit 444c271

Please sign in to comment.