[TYPO3] HTML 4.01 Strict?
Martin.Kutschker at n0spam-blackbox.net
Tue Sep 26 17:11:53 CEST 2006
Matthew Manderson schrieb:
> 1) I also needed to add:
> page.config.xmlprologue = none
> 2) I also needed to modify the file:
> // $GLOBALS['TSFE']->content.='<html'.($_attr ? ' '.$_attr : '').'>';
This should do the trick:
config.htmlTag_setParams = none
> 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
More information about the TYPO3-english