Re: [SMARTY-DEV] strip problem again

From: Date: Mon, 01 Sep 2003 14:51:08 +0000
Subject: Re: [SMARTY-DEV] strip problem again
References: 1 2 3  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1834@lists.php.net to get a copy of this message
> {php} echo "?>?>"; {/php} > > would be a case where the ?>?> is replaced errornously I suppose some more specific replacement. Something like in "processing cached inserts" part where unique constant is used. Or it can be text which will be invalid in any context of a compiled template. Something like {$//'?><?php!?> which is invalid in PHP code, double quotes, single quotes, heredoc syntax and HTML-context. But this contains curly brace. > there are still cases where it above breaks, for example: How about something exotic, like {strip} {php} echo '<?php echo "text"; ?>'; {/php} {/strip} If it was my private project, I'd not even think about them, but in common, syntax is valid. Konstantin A. Pelepelin

« previous php.smarty.dev (#1834) next »