Fix bookmarklet share link (#35)

For some reason, Twitter (and possibly other sites!) cut closing parens from the "Copy this link to share ⤴️" link. So a quick-and-dirty fix is to just append a bit of whitespace.

A little more context (with pictures): https://twitter.com/CarnunMP/status/1559148858118111234
This commit is contained in:
Carnun Marcus-Page 2022-08-15 13:34:44 +01:00 committed by GitHub
parent fe353c4c08
commit a698bd4ed9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,6 +134,7 @@
[:br]
[(fn []
[:a {:href (str "?name=" (js/encodeURIComponent @*bookmark-name)
"&code=" (js/encodeURIComponent @*code))} "Copy this link to share ⤴️"])]]))
"&code=" (js/encodeURIComponent @*code)
" ")} "Copy this link to share ⤴️"])]]))
(rdom/render [workspace] (.getElementById js/document "app"))