Skip to main content

Notifications

Community site session details

Community site session details

Session Id : vWIkZI3nDgfdDWqg5TMcTc
Power Automate - Building Flows
Unanswered

HTML line breaks disappeared

Like (0) ShareShare
ReportReport
Posted on 14 Mar 2025 11:24:24 by 2
Hi everybody,

I have several Power Automate Web flows where I set string variables with HTML code. Oddly, recently all the <br> tags have disappeared, resulting in a formatting mess (I use these variables to compose the text for emails).

Why did this happen, and how can I solve the issue? I cannot believe that Power Automate doesn't allow standard HTML code in variables. Please note that other tags remained unaltered.

Thanks,
Kind regards

  • Building with Why Profile Picture
    193 on 14 Mar 2025 at 12:36:12
    HTML line breaks disappeared
    I have seen Power Automate "help" by changing HTML placed in Outlook directly.  Very annoying.  
     
    When I use variables or compose statements and then place those into Outlook I do not get the same "help".
     
    In my experience I have not had problems with Power Automate just changing code.  I have seen Power Automate get sticky when trying to update.  So you think you have updated an expression but it doesn't take.  I just double check my updates before I close.  If it is saved before I close I don't have problems reopening it with the saved changes.
     
    As far as expanding steps.... yes annoying but when dealing with larger flows more helpful.
  • CU14031118-0 Profile Picture
    2 on 14 Mar 2025 at 12:17:28
    HTML line breaks disappeared
    Hi,
    Thanks for your reply.

    I simply use the "Set Variable" action, and write the HTML code as its value. Then, I use these variables to create dynamic e-mail text.

    The odd thing is that all of sudden, all of flows removed the <br> tags from the value of the "Set Variable" action.

    I re-added the <br> tags, saved the flow, and it seems to retain them now. My question is: how reliable is Power Automate Web? This isn't the first time I've encountered unexpected behaviors. For instance, flows are now automatically collapsed, requiring me to manually expand all the actions, which is frustrating and time-consuming.

    Thanks,
    Kind regards
  • Building with Why Profile Picture
    193 on 14 Mar 2025 at 12:07:12
    HTML line breaks disappeared
    I use HTML in variables in several flows (including <br>) and have not seen any adverse changes recently.  Where specifically are you using the HTML?  I have found that depending on the connector HTML can operate very differently.  Though honestly I do not recall having problems with <br> before.

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,431 Most Valuable Professional

Leaderboard
Loading started
Loading complete