diff --git a/CHANGELOG.md b/CHANGELOG.md index c84616062..1d5492c01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ Docs: https://docs.clawd.bot - Doctor: clarify plugin auto-enable hint text in the startup banner. - Gateway: clarify unauthorized handshake responses with token/password mismatch guidance. - UI: keep config form enums typed, preserve empty strings, protect sensitive defaults, and deepen config search. (#1315) — thanks @MaudeBot. +- UI: preserve ordered list numbering in chat markdown. (#1341) — thanks @bradleypriest. - Web search: infer Perplexity base URL from API key source (direct vs OpenRouter). - TUI: keep thinking blocks ordered before content during streaming and isolate per-run assembly. (#1202) — thanks @aaronveklabs. - TUI: align custom editor initialization with the latest pi-tui API. (#1298) — thanks @sibbl. diff --git a/ui/src/ui/markdown.ts b/ui/src/ui/markdown.ts index f83fd18a7..0191b06f5 100644 --- a/ui/src/ui/markdown.ts +++ b/ui/src/ui/markdown.ts @@ -5,7 +5,6 @@ import { truncateText } from "./format"; marked.setOptions({ gfm: true, breaks: true, - headerIds: false, mangle: false, }); @@ -37,7 +36,7 @@ const allowedTags = [ "ul", ]; -const allowedAttrs = ["class", "href", "rel", "target", "title"]; +const allowedAttrs = ["class", "href", "rel", "target", "title", "start"]; let hooksInstalled = false; const MARKDOWN_CHAR_LIMIT = 140_000;