Marc:
Your packaging of my html code generator is really cool, but perhaps you started with an older version. I'm including below the version I use now, which tries to do some automatic indentation and pretty-printing of html code to make it human readable. I've also included the source and output of one of the pages of my Trillia Group web site that uses some of these features (including "unprotected" html output and (non-)formatting of <pre> contents). I think a few bug fixes are included, too.
Brad