cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sammybridge
Advocate III
Advocate III

Losing table format when converting html to text

I have a HTML table and I need to format this to text. When I do this, it forces it to one line rather than putting breaks in and creating a new line for every line in the HTML table. From the images below, I want the output of the HTML to be the format that gets used for the output of the text. There should be a new line every time it starts E|.

 

Is this possible?

 

Input

sammybridge_0-1599118370078.png

 

 

Output

sammybridge_1-1599118412323.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

I found the solution. In my Convert HTML to Text, I had to add in Replace "</td></tr>" with "<br /></td></tr>"

 

Thanks for your help

View solution in original post

2 REPLIES 2
v-litu-msft
Community Support
Community Support

Hi @sammybridge,

 

It is impossible by using create an HTML table, but if you use the Create CSV table, then use replace() function to remove ",", you could make it possible, for example:

replace(body('Create_CSV_table'),',','')

Annotation 2020-09-04 101957.jpg

 

Run result:

Annotation 2020-09-04 101958.jpg

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I found the solution. In my Convert HTML to Text, I had to add in Replace "</td></tr>" with "<br /></td></tr>"

 

Thanks for your help

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,919)