If you want to fix this in the desktop flow, try using Replace text with regular expressions enabled and replace \r\n with %""% (indicates that it will replace it with nothing - an empty string).
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.