mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
d40dc73cf9
The previous escape was for Text into HTML and breaks script contents. The new escaping ensures that the script contents cannot prematurely close the host script tag by escaping script open and close string sequences using a unicode escape substitution.