# escapeHtml

**Kind:** Function

**Source:** [`atloria-monorepo/apps/api/src/changelog/changelog-markdown.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/changelog/changelog-markdown.ts#L9)

Tiny, dependency-free helpers for the changelog surfaces: HTML/XML escaping
and a minimal markdown→HTML renderer good enough for release notes
(headings, bold, inline code, links, bullet lists, paragraphs). Feeds and
emails must never ship raw user/AI markdown as HTML without escaping first —
everything below escapes BEFORE applying markup.

## Signature

```ts
function escapeHtml(s: string): string
```

## Parameters

| Name | Type |
|---|---|
| `s` | `string` |

**Returns:** `string`
