Dmitry Dzygin
Dmitry Dzygin

Reputation: 1308

Alternatives to Tidy.NET?

I need to clean-up and validate some html markup in various places. I'm currently using Tidy.NET for this purpose, but this tool seems to have been abandoned for years — it has some bugs and does not support HTML 5 tags (f.e. <canvas />).

So, the question is: what are the alternatives, if any?

Upvotes: 2

Views: 3016

Answers (2)

dandean
dandean

Reputation: 1449

You could fork Tidy.Net on Github and add the features you want:

https://github.com/WordFly/TidyNet

Upvotes: 1

Rune Grimstad
Rune Grimstad

Reputation: 36320

Html Agility Pack should be useful here. It is still being maintained, but I am unsure whether it supports HTML 5 tags or not.

Upvotes: 1

Related Questions