fix(ui): preserve ordered list numbering (#1341) - thanks @bradleypriest

Co-authored-by: Bradley Priest <bradleypriest@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-21 00:12:21 +00:00
parent 51dfd6efdb
commit e083f678fd
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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;