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
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (2,736)