(Nick Reinking nick@twoevils.org):
<SCRIPT TYPE="text/javascript"> (capitalization suckiness) <a href="....." class='internal'> (mixed quotes) #quickbar a.new { color: CC2200; ) (invalid, but possibly parsed) <table width='98%'> border=0 cellspacing=0> (mixed/missing quotes) Can we just settle upon lowercase tags and double quotes around all attributes?
I did settle on lowercase tags--somebody else added that SCRIPT, which I'd love to remove as soon as I figure out what it's there for. Quotes are trickier: I can't just change them all unilaterally because they are chosen based on the possible values of the attribute: i.e., those that might possibly contain single quotes are put in doubles, and vice versa. Though admittedly, some of them are just chosen to make the PHP code easier (i.e., when HTML is part of a PHP string, single quotes are used just because it's easier to read "='internal'" than "="internal"".
A future version of the software will produce a DOM for each page rather than straight HTML, and then a module will produce various outputs from the DOM. That's a ways off.