Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

fix(pdf): pass private-use range sequence to DocVortex 0.6.8

myhloli4c30291cfc78
diff --git a/mineru/backend/analysis/pdf/text/native.py b/mineru/backend/analysis/pdf/text/native.py
index be1ba8e8..3e61ceb3 100644
--- a/mineru/backend/analysis/pdf/text/native.py
+++ b/mineru/backend/analysis/pdf/text/native.py
@@ -607,7 +607,7 @@ def _owned_span_texts(owner: Any, spans: list[_AnalyzeSpan], median_height: floa
list(CONTROL_LINE_BREAK_CHARS),
_SPACING_DIACRITIC_TO_COMBINING,
threshold,
- (PRIVATE_USE_AREA_START, PRIVATE_USE_AREA_END),
+ ((PRIVATE_USE_AREA_START, PRIVATE_USE_AREA_END),),
[span.metadata.get("_native_tight_spacing", True) for span in spans],
)