cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft
Microsoft

HTML to Text Preview is line break

I am getting input from a Teams channel. so the message body is in HTML content. 

I am using Html to text Preview to convert it to text. While converting the content a line break is being added, which is creating a problem. Please suggest a solution for this.

Prathyu_1-1600939582262.png

 

 

 

2 REPLIES 2
Super User III
Super User III

Hi!

If you need to remove all the line breaks, I would suggest to add a Compose action block just after your 'HTML to text', and assign it the following WDL expression:

replace(body('HTML_to_text'),'
','')

So you will need to hit enter key from your keyboard just between the first two single quotes

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



This  solution did not work. Still I am facing the issue.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (21,854)