clean-jsdoc-theme TypeDoc APIv0.0.0

unescapeHtml

unescapeHtml(str: string): string

Source: string.ts:236

Unescapes HTML special characters in a string

Parameters

  • str (string) — The escaped string

Returns

  • string — String with HTML characters unescaped

Example

CODE
unescapeHtml('&lt;div&gt;') // '<div>'