Since you are working with two different applications, which folks in this forum are
unlikely to have much knowledge of: 1) gscan2pdf, which uses/embeds Tesseract,
and 2) Okular, which I'm guessing is a PDF viewer.
There are a number of areas where things could go awry, including the way the PDF
is constructed and the way the text is selected and formatted on the clipboard.
I suspect that the text is being split into multiple text blocks and that each of those
text blocks is getting a new line added for "free" at the end. Where in the processing
chain this is happening isn't clear.
If your goal is simply to get the best rendition of the text, it sounds like you've
discovered what is needed. If you want to get that specific combination of
programs to work better, you're probably going to need to address it with
whoever supports them.
Bonne chance!
Tom