Pasted HTML code in email editor is garbled.
Describe the Bug with repro steps
In send email action, toggle to HTML view (<>), and paste the following code: Save the flow and notice that the pretty formatting has changed so it's impossible to make sense of the HTML, and also resulting formatting in email is different.
| | | | | | | | | | | | | | | |
IN v1, formatting is preserved both in Power Automate email editor preview and resulting email.
In v3, its all garbled (before save)
(after save)
(resulting email shows css code too)
(HTML preview is there, but formatting is all messed up)
@ek68794998 is this one that you could take a look at since you've been doing the work around html editor. It looks like even in raw HTML mode we're replacing new lines with
. We need a better way to differentiate how a new line should be handled in raw html vs rich editor.
Looks like this was fixed with #4284. I'm not able to repro anymore.