diff --git a/cake/libs/view/view.php b/cake/libs/view/view.php index 7e4bd7573..18f5fdc72 100644 --- a/cake/libs/view/view.php +++ b/cake/libs/view/view.php @@ -542,7 +542,8 @@ class View extends Object { if ($this->layout === 'xml') { header('Content-type: text/xml'); } - echo str_replace('', '', $out); + $commentLength = strlen(''); + echo substr($out, $commentLength); return true; } }