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 Automate
Unanswered

Line breaks in html

(0) ShareShare
ReportReport
Posted on by 31

Hello.

 

I'm trying to print an html table in which there are some fields in a multi line text format.

I'got the solution for on item in the list but I did'n understand how to manage this for multiple items:

These are my steps:

1) I got the elements

2) I select them 

lucalf_1-1636382000536.png

 

3) I compose the html

 

The problem is the "Note" field that is multi line...

I read about uri (etc).... but how can I solve this problem for each element?

As you can imagine the html table is filled with no line feed 😂

 

many thanks

Luca

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @lucalf 

    Have you tried using the uriComponenetToString() technique that you mentioned in each element?  In other words, wrap the element from Dynamic properties in the expression?

    Here is a link that demonstrates how to remove the line break.

     

  • lucalf Profile Picture
    31 on at
    uriComponentToString(replace(uriComponent(body('Html_to_text')), '%0A', ''))

    Thanks Scott.

    So I could replace my 'Note with the above string (with 'Note' instead of body('Html to text')) ?

     

    Thanks again

  • lucalf Profile Picture
    31 on at

    Too hard for me I suppose... 😞

  • CU12110117-0 Profile Picture
    2 on at
    This seems to be a common issue from me digging around  - did you find a solution?

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 Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard