--- a/State.php
+++ b/State.php
@@ -109,7 +109,7 @@ class PHPTAL_Php_State
}
private function _interpolateTalesVarsEscaped($matches) {
-return '?php echo phptal_escape('.phptal_tale($matches[1]).',
ENT_QUOTES, \''.$this-_encoding.'\');?';
+return '?php echo
Thanks for the patch, however I'm not going to apply it, because it
introduces unnecessary runtime overhead, and doesn't solve the problem
entirely (there are other places which depend on encoding).
Instead I've made PHPTAL reparse the template whenever encoding is changed.
--
regards,