refactor(setup): reorder HTMLTextSplitter tag list

- Move `ul` and `ol` earlier in the allowed tags array.
- Remove duplicate and unused tags (`h5`, `h6`, `li`, redundant `ul`/`ol`).
This commit is contained in:
2026-04-06 14:51:44 +05:30
parent a2c8bd31c6
commit 3b420b896b
+2 -5
View File
@@ -24,17 +24,14 @@ const htmlSplitter = new HTMLTextSplitter({
"emu-note", "emu-note",
"emu-example", "emu-example",
"emu-table", "emu-table",
"ul",
"ol",
"td", "td",
"h3", "h3",
"h4", "h4",
"h5",
"h6",
"p", "p",
"div", "div",
"br", "br",
"li",
"ul",
"ol",
], ],
neverBreakWithin: ["emu-grammar", "emu-alg"], neverBreakWithin: ["emu-grammar", "emu-alg"],
}); });