// One HTML escaper. Previously written four times, in catalog.ts, spawn.ts, // types.ts and attach.ts. export function escapeHtml(s: string): string { return s .replace(/&/g, "&") .replace(//g, ">") .replace(/"/g, """); }