How to safely escape JSON inside HTML SCRIPT elements
Link: https://sirre.al/2025/08/06/safe-json-in-script-tags-how-not-to-break-a-site/
Discussion: https://news.ycombinator.com/item?id=44842442
How to safely escape JSON inside HTML SCRIPT elements
Link: https://sirre.al/2025/08/06/safe-json-in-script-tags-how-not-to-break-a-site/
Discussion: https://news.ycombinator.com/item?id=44842442
If you have a fediverse account, you can quote this note from your own instance. Search https://social.lansky.name/users/hn50/statuses/115018000454873302 on your instance and quote it. (Note that quoting is not supported in Mastodon.)