Alternative to the class tidy ?

Hi all,

I know the class tidy to clean the HTML code.
Is there any alternative to do the same job ?

Thanks in advance
Richard Coffree-commerce Product ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Richard QuadlingSenior Software DeveloperCommented:
You could get an external cleaner, pass the code through it and then pass it to the user.

But, nearly all of them are based around tidy, simply because tidy is the dog's when it comes to tidying.

I use it in Firefox to validate my pages.

Or you could send it to a paid for service which does it for you, but they probably use tidy.

Why not use tidy?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Richard Coffree-commerce Product ManagerAuthor Commented:
Before to use a product i always try to find competitors to use the best.
In this case, tidy seems to be the best so now i have to find how to install it with my ISP.
Richard QuadlingSenior Software DeveloperCommented:
What server type is your ISP?
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

Richard Coffree-commerce Product ManagerAuthor Commented:
It is a linux.
I read that the class tidy is delivered with PHP5 but when i check the configuration of my ISP ( i don't find this extension.
So i think that it is necessary to install it.

I don't use dedicated server.
Richard QuadlingSenior Software DeveloperCommented:
Asking the ISP to install the tidy extension should be OK. If they are supporting PHP5, then they should allow the extension.
Richard QuadlingSenior Software DeveloperCommented:
You can check by creating a PHP script containing ...

<?php phpinfo(); ?>

This will show you the full configuration.

Thing to see is if tidy is compiled into PHP.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.