Im optimizing a Smarty template and things are looking good but the only thing left is that the resulting cached template is littered with things like <?php echo '%>'; ?> where it should just have '%>'.
It does the same for '?>' but that’s understandable as it would confuse PHP, does '%>' have the same effect?
As you point out, it does the same for the more traditional closing tag
?>.Well,
%>is a PHP closing tag too, albeit one disabled by default. You’d activate it with asp-tags:Smarty’s just being thorough. Unfortunately, it’s not doing a very good job of it. Make sure that this is disabled and your problems should go away.