A fast, helpful, and open-source document parser
nit
Logan Markewich45738e7e76cb
diff --git a/crates/liteparse/src/extract.rs b/crates/liteparse/src/extract.rsindex 3ed87b6..9eb1523 100644--- a/crates/liteparse/src/extract.rs+++ b/crates/liteparse/src/extract.rs@@ -646,14 +646,7 @@ fn extract_page_text_items(continue;}- // Spaces: mark that we're in a pending-space state. Covers all Unicode- // whitespace (ASCII space, U+3000 IDEOGRAPHIC SPACE, NBSP, en/em spaces,- // etc.), not just U+0020. Non-ASCII whitespace glyphs previously fell- // through and were added to the box geometry, then stripped from the- // text by `str::trim()` in `break_word`/`flush` — inflating item/word- // box width by one glyph advance per leading/trailing space while `text`- // reported the trimmed string (#360). Routing them here keeps text and- // box in agreement and normalizes internal runs to a single space.+ // Spaces: mark that we're in a pending-space stateif c.is_whitespace() {seg.mark_pending_space();continue;