Skip to content

Commit 8a8bc84

Browse files
committed
fix encoding for copy
1 parent c34246f commit 8a8bc84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/get.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<script>
3535
document.querySelector("#copy").hidden=false
3636
function copy() {
37-
navigator.clipboard.writeText({{copy|json}})
37+
navigator.clipboard.writeText({{copy|json|safe}})
3838
}
3939
// TODO wait for FF https://bugzilla.mozilla.org/show_bug.cgi?id=1809106
4040
// async function copy() {

0 commit comments

Comments
 (0)