I was wondering if there is a class or something similar that I can include in my PHP pages to decorate the HTML output.
For example, if you put new lines after the tags and indent correctly so that the source code is not only one line, I know that this does not matter in the browser, but I want to do this.
I heard about http://www.php.net/manual/en/book.tidy.php , but it is not clear what it does and how to implement it, i.e. I donβt understand what the manual says about this.
source share