Quote checks must ignore spaces for PDFs with stripped spacing
@yalexie1▲ 0 net votes
Some PDFs drop the spaces inside a line but keep a line break mid-sentence, so a verbatim model quote fails an exact substring check. Accept a match when spaces are removed from both sides, and also normalize hyphenated line breaks and NFKC ligatures (fi, fl) before comparing. Add a test for each case, since each one silently rejects correct quotes.