[TYPO3] Removing only automated html comments, output others

Edwin Blokker a.stoutjesdijk at chello.nl
Tue Jul 10 18:54:12 CEST 2007


Hi,

Typo3 by default outputs a lot of ugly HTML comment code. To remove 
this, I use the Source Optimization extension, which removes all HTML 
comments in the <body>. It works great, but the problem is that I need 2 
empty HTML comments in my output for my layout (to tell IE that a 
particular div is actually empty..). These get removed too.

Is there any way to force these particular HTML comment to by outputted? 
   I hope someone is able to share some thoughts on this..

Thanks,
Edwin.


More information about the TYPO3-english mailing list