cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sammybridge
Helper IV
Helper IV

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

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (72,316)