pdf.js text items that end a line become "\n" in the search text, so a query with a space never matched a phrase split across lines. Search now reads any whitespace run, line ends included, as one space on both sides, and drops a line-end hyphen between letters, as pdf.js's own find does. Page matching and run highlighting share the same matcher. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Julius Marminge committed on 10/26/2026, 11:55:40 PMparent0382ea0
Checks
23 successful · 7 skipped
3 files changedLine totals unavailable