diff --git a/lib/Cake/basics.php b/lib/Cake/basics.php index 833fdc61e..e5b1f3ccb 100644 --- a/lib/Cake/basics.php +++ b/lib/Cake/basics.php @@ -106,7 +106,7 @@ TEXT; } $var = print_r($var, true); if ($showHtml) { - $var = htmlentities($var); + $var = h($var); } printf($template, $file, $line, $var); }