I have been looking for a couple of days for code but have been unable to find what I'm needing.
I have a form with HTML code (a web page).
I need to clean/format/(whatever verb you'd like goes here), which might include jquery/js and in embedded css code block using HTML Tidy
All the code I've found does something with just one HTML tag.
When I say clean/format, I need the HTML tags formatted and indented the way Visual Studio
formats the HTML.
I would rather pass the string into the code and then spit it out in my control.
Does anyone have code like this they can share?
I have a form with HTML code (a web page).
I need to clean/format/(whatever verb you'd like goes here), which might include jquery/js and in embedded css code block using HTML Tidy
All the code I've found does something with just one HTML tag.
When I say clean/format, I need the HTML tags formatted and indented the way Visual Studio

I would rather pass the string into the code and then spit it out in my control.
Does anyone have code like this they can share?