Version: 2.2.0 (última)
FoalTS provides some utils to protect you against XSS attacks.
escape(str: string): string
#Escapes HTML and returns a new string.
escapeProp(object: object, propName: string): void
#Escapes HTML in the given property.
is equivalent to