Function: encodeText(text: string): string It's used to encode any special HTML character. Example Html.encodeText('<example...>'); // Output: <example...> License MIT