Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Strip HTML from a text field without using HTML to text

Hi all,


my flow is being passed some HTML formatted text that I want to pass to an approval connector. The approval then sends the mail with all the tags in it. 


I would normally want to use the HTML to Text connector, however my organisation has disabled it (don't ask....) and there isnt a chance of them re-enabling it for some time to come. 


Does anyone have any ideas on how I could strip the HTML from a string without using the HTML to text connector?


Many thanks



Community Support Team
Community Support Team

Re: Strip HTML from a text field without using HTML to text

Hi @Jambo1,


Unfortunately, there is no way to add HTML formate text field into the Approval body.

However, it supports to add the MarkDown syntax into the description:

Annotation 2020-01-17 101550.png


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.

Level: Powered On

Re: Strip HTML from a text field without using HTML to text

Thanks for that @v-litu-msft , and that is the root of the problem


Is there another round about way to convert my HTML formatted string to plain text without the use of the HTML to text converter?



Level: Power Up

Re: Strip HTML from a text field without using HTML to text

I have this same problem.  The MS Forms multi-line input box wraps all the text in a <div> tag, and then when you send it out in the Approvals email body it does not process the <div> tag so it comes through as normal text and shows the actual <div> tag.  


I have not been able to find a way to strip the HTML.  I use MS Forms to input my data and Flow it to a Custom List in sharepoint, so I am looking at moving my approvals part to after the record is inserted into the Custom List and hoping that the HTML tags have been stripped internally somehow by the Custom List.

Helpful resources


New Ranks and Rank Icons in April

Read the announcement for more information!


Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,410)