WeKnora/docreader/tests
Lukas 578ca1b519
fix(docreader): keep a pipe inside an HTML table cell in that cell (#4433)
HTML and MHTML uploads turn tables into GFM through markdownify, which
writes a pipe in a cell's text as is. That pipe ends the cell, so
<td>a|b</td> became two cells and every later cell in the row moved one
column right. Pipes in table cell text are now escaped before the
conversion, as `\|`.

The escape then has to survive MarkdownTableUtil, which normalizes the
converted tables and split rows on every pipe: `| a \| b | c |` came out
as a three-column row with the escape turned into `\ |`. It now splits
on unescaped pipes only; a pipe after an odd run of backslashes is cell
text, as in the Go chunker since #3979.
2026-10-17 22:27:49 +08:00
..
fixtures fix(docreader): preserve vertically merged table cells (#2657) 2026-08-12 10:59:49 +08:00
generate_source_location_browser_fixtures.py fix(citations): 修复原文定位、高亮范围与 DocReader 启动失败 (#3794) 2026-09-27 20:32:26 +08:00
test_config.py test(docreader): align pdf JPEG quality default assertion 2026-06-17 17:18:57 +08:00
test_container_entrypoint.py fix(citations): 修复原文定位、高亮范围与 DocReader 启动失败 (#3794) 2026-09-27 20:32:26 +08:00
test_docx_merge.py fix(docreader): preserve vertically merged table cells (#2657) 2026-08-12 10:59:49 +08:00
test_docx_tables.py fix(docreader): keep DOCX table content in parsed text (#2898) 2026-08-31 17:56:17 +08:00
test_endecode.py fix(docreader): stop a non-ASCII base64 payload from failing the whole parse 2026-09-22 19:37:21 +08:00
test_epub_parser.py fix(docreader): resolve EPUB images relative to their chapters (#3924) 2026-10-09 12:00:57 +08:00
test_excel_parser.py fix(docreader): drop data validation ranges openpyxl cannot parse instead of failing the sheet (#3599) (#3608) 2026-09-25 22:29:27 +08:00
test_html_parser.py fix(docreader): keep the space held by a whitespace-only inline element (#3978) 2026-10-08 01:31:48 +08:00
test_markdown_table_util.py fix: stop markdown table regex catastrophic backtracking (#2770) 2026-08-24 18:08:07 +08:00
test_mhtml_parser.py fix(docreader): keep the space held by a whitespace-only inline element (#3978) 2026-10-08 01:31:48 +08:00
test_opendataloader_parser.py fix(security): harden outbound URL SSRF protection (#2626) 2026-08-10 13:24:14 +08:00
test_parser_concurrency.py fix(docreader): throttle heavy parser concurrency 2026-05-07 17:36:09 +08:00
test_parser_routing.py fix(parser): default ppt/pptx to markitdown when no engine rules (#2882) 2026-08-31 14:58:15 +08:00
test_pdf_embedded_images.py fix(docreader): keep pdfium bitmap alive while copying SMask pixels 2026-08-24 14:41:54 +08:00
test_pdf_router.py feat(docreader): support forcing PDF scanned-page OCR parsing 2026-06-25 17:30:22 +08:00
test_ppt_convert.py ci: add app frontend and docreader checks 2026-07-30 14:13:15 +08:00
test_pptx_media.py fix(docreader): preserve PPTX fallback image associations (#3973) 2026-10-08 14:37:07 +08:00
test_sandbox_executor.py fix(docreader): kill timed-out converter process groups (#2990) 2026-09-23 12:02:53 +08:00
test_source_locator.py fix(citations): 修复原文定位、高亮范围与 DocReader 启动失败 (#3794) 2026-09-27 20:32:26 +08:00
test_source_locator_pdf.py fix(citations): 修复原文定位、高亮范围与 DocReader 启动失败 (#3794) 2026-09-27 20:32:26 +08:00
test_ssrf.py feat(security): add a whitelist-only outbound mode that refuses before DNS (#3393) 2026-09-23 12:02:06 +08:00
test_ssrf_proxy.py fix: align client sessions and integration request handling (#3305) 2026-09-16 16:20:57 +08:00
test_table_cell_pipes.py fix(docreader): keep a pipe inside an HTML table cell in that cell (#4433) 2026-10-17 22:27:49 +08:00
test_tempfile_context.py fix: remove temp file when TempFileContext write fails inside __enter__ (#3495) 2026-09-21 14:21:07 +08:00
test_utils_split.py test(docreader): add unit tests for utils.split text-splitting helpers 2026-10-10 21:25:02 +08:00
test_web_parser.py fix(docreader): fail URL scrape instead of indexing error text (#2883) 2026-08-31 14:12:11 +08:00
test_xlsx_styles_repair.py fix(docreader): sanitize non-conforming styles.xml fills before openpyxl loads (#3637) (#3638) 2026-09-25 22:23:57 +08:00
test_xmind_parser.py feat(docreader): add XMind outline parsing (#2713) 2026-08-20 19:49:48 +08:00