Thanks for reporting!
I can reproduce something similar around hard line breaks munging in code blocks.
Given the following text:
Hello
world
Hello
World
Copy and place into code block:
Helloworld
Hello
World
So it looks like hard line breaks are not being preserved. Perhaps there is a similar case in Android paste.
This is on our list. Expect a response from the team in the upcoming days.