You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* Short method name */importHtmlfrom'@w0s/html-escape';Html._('<span data-foo="hoge&hoge">text</span>');Html.$('<span data-foo="hoge&hoge">text</span>');constspan='<span>text</span>';Html.__`<p>${span}</p>`;
Methods
static escape(input: string): string
Escapes the characters in a string using character references
static _(input: string): string
Alias of escape()
static unescape(input: string): string
Unescape characters for which character references are used