web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Editor Replacing '<...
Power Automate
Answered

Editor Replacing '< br>' literal with line breaks in all of my flows!

(1) ShareShare
ReportReport
Posted on by 64
Hi,
 
I often compose or make a variable with HTML text in it. Now, it seems that the editor is actually interpreting the <br> of the HTML to literal line breaks. Anyone else experiencing this? Attached GIF shows what is happening.

BR_Issue2-ezgif.com-optimize.gif
Categories:
I have the same question (0)
  • Suggested answer
    Ellis Karim Profile Picture
    11,985 Super User 2026 Season 1 on at
    Hi  AaronBastian,
     
    Yes, I can recreate the same issue. It is an "issue" with the new editor. Switchback to the classic editor and you will see that the <br> tags are still there:
     
     
     

    Ellis Karim Ellis Karim
    Blog | LinkedIn | Bluesky

  • Verified answer
    Ellis Karim Profile Picture
    11,985 Super User 2026 Season 1 on at
     
    Did switching back to the classic editor fix your issue?
     

    Ellis Karim Ellis Karim
    Blog | LinkedIn | Bluesky

  • Verified answer
    AaronBastian Profile Picture
    64 on at
    @Ellis Karim yes, but I wouldn't really consider this a solution. I'll mark it as answer for you, but what I ended up doing is just putting NEWLINE wherever I want a <br> and then using replace(Text, 'NEWLINE', '<br>'). Not eloquent, but it works and should be future proof enough until/if they resolve this issue.
  • David_MA Profile Picture
    14,085 Super User 2026 Season 1 on at
    I recently experienced this with the new designer as well. I made the mistake of switching to it in one flow I was working on, and it replaced <br> with a space. In addition, I had a couple of tables in the e-mail, and it added   <tbody><tr> tags to it that threw off the columns in the tables, and it added border="1" to the table tag that threw off my CSS (<table border="1">). It was a complete mess.
     
    I used a compose action to create the e-mail and then put the body of the compose action in the e-action. However, based on your post, it looks like that doesn't work either. I guess it means continue using the classic designer and avoid the new one like the plague. 
  • AaronBastian Profile Picture
    64 on at
    @David_MA, Yeah its a shame because the new editor has so many helpful features, but has all of these odd bugs that render it unusable in some cases.

Under review

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard