I'd like to be able to pretty print all html, not just invalid html. It's to help with sorting out problems in my php where the php produces valid html, but not the html I'm trying to get.
Thanks
David Willington
Logged In: NO
You can make this work by changing just one line in the source code, src/mod_tidy.c
In the current version, it is line 610...
Original Version: ap_fputstrs(f->next, ctx->bb, ctx->htmlbuf.bp, NULL);
Changed Version: ap_fputstrs(f->next, ctx->bb, tidyhtmlbuf.bp, NULL );
Rebuilding and re-installing with that change will make all the HTML output pretty-printed.
Log in to post a comment.
Logged In: NO
You can make this work by changing just one line in the source code, src/mod_tidy.c
In the current version, it is line 610...
Original Version:
ap_fputstrs(f->next, ctx->bb, ctx->htmlbuf.bp, NULL);
Changed Version:
ap_fputstrs(f->next, ctx->bb, tidyhtmlbuf.bp, NULL );
Rebuilding and re-installing with that change will make all the HTML output pretty-printed.