Files
ragflow/internal/parser/parser/testdata/html.sample.zh.html
Jack 875ca966e9 refactor(parser): preserve HTML <table> structure (inline + structured item) (#18129)
Stop flattening `<table>` into a single text blob. A `<table>` now emits:
1. an inlined `doc_type_kwd:"text"` item keeping the `<table>…</table>`
markup (row/column structure survives for embedding/retrieval/LLM rendering),
2. a structured `doc_type_kwd:"table"` / `ck_type:"table"` item appended
after the walk, consumed by the downstream chunker.
2026-08-11 22:15:15 +08:00

12 lines
352 B
HTML

<html><body>
<h1>产品指南</h1>
<p>第一步:打开应用。第二步:点击设置完成配置。</p>
<table>
<tr><th>姓名</th><th>年龄</th></tr>
<tr><td>张三</td><td>30</td></tr>
<tr><td>李四</td><td>25</td></tr>
</table>
<h2>使用条款</h2>
<p>欢迎使用我们的智能助手,它能帮你快速完成任务。</p>
</body></html>