mirror of
https://github.com/bendtherules/ask262.git
synced 2026-08-18 13:21:55 +00:00
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:
+2
-5
@@ -24,17 +24,14 @@ const htmlSplitter = new HTMLTextSplitter({
|
||||
"emu-note",
|
||||
"emu-example",
|
||||
"emu-table",
|
||||
"ul",
|
||||
"ol",
|
||||
"td",
|
||||
"h3",
|
||||
"h4",
|
||||
"h5",
|
||||
"h6",
|
||||
"p",
|
||||
"div",
|
||||
"br",
|
||||
"li",
|
||||
"ul",
|
||||
"ol",
|
||||
],
|
||||
neverBreakWithin: ["emu-grammar", "emu-alg"],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user