export function escapeHtmlCode(text: string): string { return (text || "") .split(/&/gm) .join("&") .split(/</gm) .join("<") .split(/>/gm) .join(">"); }
GitFOSS • v0.2.0 (#421408f) • MIT License