Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Using HTML Agility Pack

$
0
0
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?

Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>