(s: string)
| 184 | } |
| 185 | |
| 186 | function escapeHtml(s: string): string { |
| 187 | return s.replace(/[&<>"']/g, (c) => |
| 188 | ({ "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }[c]!), |
| 189 | ); |
| 190 | } |
| 191 | |
| 192 | // ─── Shutdown ───────────────────────────────────────────────────── |
| 193 |
no outgoing calls
no test coverage detected