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

Notifications

Announcements

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,270 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard