I have enabled multiline for my text input and still my email body I won't gets the correct formatting for the text as it doesn't have the line breaks, as you can see in the output of the "create HTML for peepo" action it correctly shows how the text would be in the table, but am not getting the result in email body.
text formatting for Create HTML action ( need to have a new line)
To format it so that you have page breaks in the final HTML in your email, you need to repalce the "New Line" ("\n") characters with HTML line breaks.
Here's how you can do it.
1. Save a "New Line" in a compose.
Just make a compose, press enter to make a new line character, then name it.
If you peak at code view, you'll see that this holds a "\n". If you look at your multi line text values in your final HTML in a flow run, you'll see this same character . We need to repalce it with "<br>"
2. Use Replace() to Replace all New Lines in your HTML Table with "<br>"
You can add a compose after your HTML table action and write the replace function there.
The expression looks like the following. You are looking for every new line like the one in your "New Line" compose and replacing it with "<br>"
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.