[TYPO3] How to keep comment with SourceOptimization?

Daniel Doesburg daniel at typo3-nl.eu
Sun May 25 21:25:19 CEST 2008


Hi,

I've a construction in my site to simulate hovering in IE.

<a href="about-us/">About us
	<!--[if IE 7]><!-->
</a>
<!--<![endif]-->
<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
	<li> <a href="about-us/page1/>Page1</a> </li>
	<li> <a href="about-us/page2/>Page2</a> </li>
	<li> <a href="about-us/page3/>Page3</a> </li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->


With the SourceOptimization I get:
<a href="about-us/">About us
	<!--[if IE 7]><!-->
</a>
				<=======This line is missing!
<!--[if lte IE 6]><table><tr><td><![endif]-->
<ul>
	<li> <a href="about-us/page1/>Page1</a> </li>
	<li> <a href="about-us/page2/>Page2</a> </li>
	<li> <a href="about-us/page3/>Page3</a> </li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->


I've tried sourceopt.removeComments.keep.30 =
But I can't find the right expression to keep the desired string in the 
source.

Regards,

Daniel


More information about the TYPO3-english mailing list