From 3b420b896b4a020386911bb54bf34505463d21f5 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Mon, 6 Apr 2026 14:51:44 +0530 Subject: [PATCH] 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`). --- setup/ingest.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/setup/ingest.ts b/setup/ingest.ts index b0a2f90..b6e7eb5 100644 --- a/setup/ingest.ts +++ b/setup/ingest.ts @@ -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"], });