validation

By anders pearson 16 Nov 2003

made a couple quick adjustments to the thraxil engine to help make sure that it generates <a href=”http://validator.w3.org/check?uri=http%3A%2F%2Fthraxil.org%2F”>valid</a> markup.

the templates are valid by default, and i already had some logic to try to fix simple mistakes like missing end tags. the main thing that it was missing was the use of ‘&amp;’ for a seperator in urls. one quick regex later and that shouldn’t be a problem again.

i’m not sure it properly handles character encoding issues yet (like the stupid curly quotes that mac browsers seem to like to insert), but i’ll get to that later.

Tags: meta standards