[TYPO3] HTML 4.01 Strict?
Matthew Manderson
matthew at manderson.co.uk
Tue Sep 26 19:49:09 CEST 2006
Martin Kutschker wrote:
> This should do the trick:
> config.htmlTag_setParams = none
Perfect thanks
At this stage I have the template validating strict now thanks very much for
your help!
This thread should prove useful for others.
>> 3) The final issue is now just the /> tags. Many are in that
>> class.tslib_pagegen.php file but rather that hand edit them I'd like to
>> use that hook you mentioned.
>>
>> Which is the rendering file I need to look in?
>
> Have a look at tslib_fe::generatePage_postProcessing(). There are a number
> of hooks you could use. I'd go for some regexp that looks for all know
> tags (br, hr, meta, ...) and removes the /.
>
> Or you simply set $TYPO3_CONF_VARS['FE']['tidy_option'] and
> $TYPO3_CONF_VARS['FE']['tidy_path'] with proper options and let tidy do
> its job.
I am using almost zero non core extensions at the moment but I will try tidy
how that works.
Thanks again.
Matthew
More information about the TYPO3-english
mailing list