Kind: Function
Source: atloria-monorepo/apps/api/src/changelog/changelog-markdown.ts
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
tsfunction escapeHtml(s: string): string
Parameters
| Name | Type |
|---|---|
s | string |
Returns: string
Was this page helpful?