Drop .textContent IE8 polyfill and rewrite escaping tests against public API (#11331)
* Rename escapeText util. Test quoteAttributeValueForBrowser through ReactDOMServer API * Fix lint errors * Prettier reformatting * Change syntax to prevent prettier escape doble quote * Name and description gardening. Add tests for escapeTextForBrowser. Add missing tests * Improve script tag as text content test * Update escapeTextForBrowser-test.js * Update quoteAttributeValueForBrowser-test.js * Simplify tests * Move utilities to server folder
J
Jeremias Menichelli committed
cafe352c1a6ab8591b6e42e1e788d48115b0a814
Parent: 575982b
Committed by Dan Abramov <dan.abramov@gmail.com>
on 11/23/2017, 10:41:28 PM