Question

I'm processing bad-formated HTML pages with JTidy. I am only interested in fixing a specific set of tags, for example <img> <table>. Is there anyway to tell JTidy to focus on only those tags?

Was it helpful?

Solution

No, there is not (or at least not that I know).

But what is wrong with getting the full document corrected?

(TIP: JTidy might not be the best solution for cleaning HTML, there are others, like: http://htmlcleaner.sourceforge.net/ which might give better result(s) in your case, see https://stackoverflow.com/questions/2009897/recommend-an-alternative-to-jtidy)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top