tcm . cli . web
tcmts.cli.web.escapeHtml · #5m4tadqy · term · runs anywhere
tcmts.cli.web.escapeHtml
export const escapeHtml = (s: string) => s.replace(/[&<>]/g, (c) => ({ "&": "&", "<": "<", ">": ">" })[c]!)