Referenced text from PDF looks many times awful with multi whitespaces. This is caused often from line breaks in PDFs.
How to solve: Treat line breaks as one whitespace. And in general: Trim down multi whitespace to a single one. I can’t image one use case I need multiple whitespaces. See screenshot.
Should be easy to implement and then I will actually starting to love the pdf editor Thanks