Closed mpkorstanje closed 1 month ago
We're writing the json messages inside a <script> element. This means that the </script> element must be escaped. Or more generally, any /.
<script>
</script>
/
Fixes: #311
Is there a better way to do this?
🤔 What's changed?
We're writing the json messages inside a
<script>
element. This means that the</script>
element must be escaped. Or more generally, any/
.⚡️ What's your motivation?
Fixes: #311
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
Is there a better way to do this?
📋 Checklist: