diff --git a/src/View.php b/src/View.php index 96328b2..9ecca90 100644 --- a/src/View.php +++ b/src/View.php @@ -304,9 +304,13 @@ class View { $file=file_get_contents($view_real_path); - $file=preg_replace('/<\?=(.*?)\|\?>/', '', $file); + #/', '', $file); + + $file=preg_replace('/<\?php echo\s+([^;]*?);\|n/', '/', '', $file);