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 Apps / Prevent Linebreak in p...
Power Apps
Unanswered

Prevent Linebreak in power automate email flow

(1) ShareShare
ReportReport
Posted on by 60

Hello,

 

How can I prevent linebreak in my power automate email flow so that when email received, there wount be line break after Budget Info: label.  Please see the attachment.

 

Here is the code used for  formatting of Budget Info: if(empty(triggerOutputs()?['body/BudgetNumber2']),'',replace(triggerOutputs()?['body/BudgetNumber2'], ';', '<br />' ))

 

It works fine except that it puts line break after the Budget Info. label.

 

Thank you

Prevent_Line_break.JPG
Categories:
I have the same question (0)
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    1. See if a line break is already coming in the input, if so, remove it beforehand.

    2. See if there are double semicolons at the very beginning of the input data, if so, remove them both if you don't need them.

    3. If #1 or #2 above is not feasible, then: try taking what you already have, and wrap it with another expression using this thread below:

    remove line break 

    4. If the line break is not what's in there, try replacing on <br /> and replace it with nothing (however it's recommended you try to do this sometime before the data is fed in the first place, if possible - only do this after the fact if you really can't do it beforehand or it's not feasible to do so beforehand).

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard