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

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