Combine Render Text Template and Send E-Mail with Attachments

I have created a workflow that renders a text template from a list and merges data from a dictionary. This works fine. I would like to add documents to the e-mail and hoped to use the Send E-Mail with Attachments workflow action. This successfully adds the documents from the document set but at the same time is stripping out the formatting so there are no line feeds. It is just one long string. Is there a way to add in formatting to the email?

Hi, @janette.

The body of the message should contain html tags. For example use
to enter line breaks, or

for new paragraphs.

Best regards, Kirill Shaklein

Thank you Kirill - that worked.