LogicAppsUX icon indicating copy to clipboard operation
LogicAppsUX copied to clipboard

Pasted HTML code in email editor is garbled.

Open kisubedi opened this issue 1 year ago • 2 comments

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.

image

Simple Transactional Email

| | | | | | | | | | | | | | | |

kisubedi avatar Feb 22 '24 21:02 kisubedi

IN v1, formatting is preserved both in Power Automate email editor preview and resulting email. image

image

In v3, its all garbled (before save)

image

(after save)

image

(resulting email shows css code too) image

(HTML preview is there, but formatting is all messed up)

image

kisubedi avatar Feb 22 '24 21:02 kisubedi

@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.

hartra344 avatar Feb 26 '24 17:02 hartra344

Looks like this was fixed with #4284. I'm not able to repro anymore.

ek68794998 avatar Jun 24 '24 23:06 ek68794998