Taking up and down text will have spacings, is it possible to remove the spacing

I’m using ocrspace for the ocr function when u take the photo it shows 2 /r/n in the form of json and hence it will have spaces as it detects it as 2 words when I generate the results in a textbox. I try adding the blocks of removing spaces with blank but still the ocr results will still have spaces.

Using these blocks

when i take horizontal texts it has no spaces as set from my blocks but when theres words like up and down it still leaves spacing