From 33bfc11fa43dc1c443bf9278b926dd1f0cf21ddf Mon Sep 17 00:00:00 2001 From: Yash Raj Pandey <55940078+devYRPauli@users.noreply.github.com> Date: Wed, 29 Jul 2026 05:18:54 -0400 Subject: [PATCH] Fix QA DOCX table parser dropping cells between repeated text (#17497) --- rag/app/qa.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rag/app/qa.py b/rag/app/qa.py index 5339f579f1..d9166057a3 100644 --- a/rag/app/qa.py +++ b/rag/app/qa.py @@ -229,6 +229,8 @@ class Docx(DocxParser): if c.text == r.cells[j].text: span += 1 i = j + else: + break i += 1 html += f"