Japanese display problem maybe chinese too

This Japanese sentence(Red line) continues.
Line breaks in the middle.
I know space is the cause.
Can you fix it?