[TYPO3] How to keep comment with SourceOptimization?

Niels Fröhling niels.froehling at adsignum.com
Thu May 29 00:24:19 CEST 2008


 Hy Daniel;
> I've tried sourceopt.removeComments.keep.30 =
> But I can't find the right expression to keep the desired string in the 
> source.
>   
 I did this (maybe I changed code too, don't remember):

# remove comments (>=2 kills all of the lightbox!, >=1 kills all of 
USER_INT)
source_optimization.remove_comments = 0

 I think this feature is not very well implemented, or maybe just at the 
wrong position in the processing-chain.
 The search-marker, the USER_INT-marker and a good bunch of other 
markers are made with HTML-comments, which just get stripped away.
> Regards,
> Daniel

 Ciao
    Niels



More information about the TYPO3-english mailing list