Details
Description
If you create a workflow with a single email action and in the body of text include something like:
New
Line
Test
Spaces
Galore
When you submit it, Hue removes all of the extra new lines as you can see if the final workflow definition:
<workflow-app name="emailworkflow" xmlns="uri:oozie:workflow:0.5">
<start to="email-53e2"/>
<kill name="Kill">
<message>Action failed, error message[$
]</message>
</kill>
<action name="email-53e2">
<email xmlns="uri:oozie:email-action:0.1">
<to>cconner@test.com</to>
<subject>New line test</subject>
<body>New
Line
Test
Spaces
Galore</body>
</email>
<ok to="End"/>
<error to="Kill"/>
</action>
<end name="End"/>
</workflow-app>