Custom Action - Intermittently working (text input issue)

Had another look at this and definitely not working when a carriage return is within the text input… simple test below doesn’t work. Please advise?..

"TEST PARA1

TEST PARA2"

“Line1
Line”