[TYPO3] Removing only automated html comments, output others

Patrick Gaumond patrick at typo3quebec.org
Sun Jul 15 15:02:09 CEST 2007


Edwin Blokker wrote:

> 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..

This thread contains lots of ideas...

http://support.typo3.org:8080/jive/thread.jspa?messageID=300682

Patrick


More information about the TYPO3-english mailing list