Topic
Before upgrading to 5.8, the HTML formatting for email messages in workflows are correct. However after the upgrade, the HTML formatting for the emails in the same workflows are gone.
Instructions
1. Edit the workflow in Chrome or Edge and press F12 to open developer tools.
2. Inspect the HTML body.
3. Locate and select the following element: class="k2-text-editor code multi-line ng-star-inserted".
4. Change the "white-space" attribute in the style section to the following: white-space: break-spaces;
5. Uncheck the "display: inline-block" attribute directly below

You should be able to see the HTML render as before and make the necessary changes. It is advised that you reformat the HTML and save the changes as reloading the workflow would then honor the new format without the need for this workaround again.