escapeHTML¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/phet-core/blob/main/js/escapeHTML.ts for the most up-to-date information.
Overview¶
Escaping of HTML content that will be placed in the body, inside an element as a node.
This is NOT for escaping something in other HTML contexts, for example as an attribute value
@author Jonathan Olson <jonathan.olson@colorado.edu>
Source Code¶
See the source for escapeHTML.ts in the phet-core repository.