fixes #2737 Adding a line break to workflowActionlet param fails js vali...

...dation

Fixed the issue and pushed the code for review, please check it.