funda-ui
Version:
React components using pure Bootstrap 5+ which does not contain any external style and script libraries.
15 lines (14 loc) • 342 B
TypeScript
/**
* HTML entities encode
*
* @param {String} str Input text
* @return {String} Filtered text
*/ declare function htmlEncode(str: string): string;
/**
* HTML entities decode
*
* @param {String} str Input text
* @return {String} Filtered text
*/
declare function htmlDecode(str?: string): string;
export { htmlEncode, htmlDecode };