(Nick Reinking <nick(a)twoevils.org>)g>):
<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.
--
Lee Daniel Crocker <lee(a)piclab.com> <http://www.piclab.com/lee/>
"All inventions or works of authorship original to me, herein and past,
are placed irrevocably in the public domain, and may be used or modified
for any purpose, without permission, attribution, or notification."--LDC