Just a small addition to my previous PR. It wasn't obvious for me that
PR #1172 also fixed#1129. I guess that issue should be covered by a
separate test
This might be fixing #502, but I am not sure. All tests pass. I've added
additional test cases for comments from #502
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
This commit escapes `<` `>` and related characters in the serialized state that is encoded into the `<script id=__FRSH_STATE>` tag. This prevents XSS attack occuring through injection of a `</script>` string in island props.