fix(ui): preserve ordered list numbering (#1341) - thanks @bradleypriest
Co-authored-by: Bradley Priest <bradleypriest@gmail.com>
This commit is contained in:
@@ -27,6 +27,7 @@ Docs: https://docs.clawd.bot
|
|||||||
- Doctor: clarify plugin auto-enable hint text in the startup banner.
|
- Doctor: clarify plugin auto-enable hint text in the startup banner.
|
||||||
- Gateway: clarify unauthorized handshake responses with token/password mismatch guidance.
|
- 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: 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).
|
- 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: 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.
|
- TUI: align custom editor initialization with the latest pi-tui API. (#1298) — thanks @sibbl.
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import { truncateText } from "./format";
|
|||||||
marked.setOptions({
|
marked.setOptions({
|
||||||
gfm: true,
|
gfm: true,
|
||||||
breaks: true,
|
breaks: true,
|
||||||
headerIds: false,
|
|
||||||
mangle: false,
|
mangle: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -37,7 +36,7 @@ const allowedTags = [
|
|||||||
"ul",
|
"ul",
|
||||||
];
|
];
|
||||||
|
|
||||||
const allowedAttrs = ["class", "href", "rel", "target", "title"];
|
const allowedAttrs = ["class", "href", "rel", "target", "title", "start"];
|
||||||
|
|
||||||
let hooksInstalled = false;
|
let hooksInstalled = false;
|
||||||
const MARKDOWN_CHAR_LIMIT = 140_000;
|
const MARKDOWN_CHAR_LIMIT = 140_000;
|
||||||
|
|||||||
Reference in New Issue
Block a user