[ciapug] Dynamically formatted HTML Source
Tony Bibbs
tony at tonybibbs.com
Thu Sep 7 15:32:08 CDT 2006
Here you go:
http://www.w3.org/People/Raggett/tidy/
Search for indenting.
--Tony
James Loghry wrote:
> I'm constantly dealing with dynamic web sites using PHP here at work.
> It's a pain to keep track of all the newlines and tabs and whatnot when
> displaying HTML through php. This is especially true when there are
> several included files.
>
> Is there a nice and easy trick to have PHP nicely format the HTML source
> before the client browser sees it? Perhaps in XHTML format or such?
> (By format I mean the spacing and tabs of elements)
>
More information about the ciapug
mailing list