Permalink
Browse files

fix profiler var output. Japanese characters were garbled.

Signed-off-by: Kenji Suzuki <kenji.uui@gmail.com>
  • Loading branch information...
1 parent 086d1ef commit 90ccad394cfd863ce69abcf60404592362dde554 @kenjis kenjis committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/phpquickprofiler/display.php
@@ -265,7 +265,7 @@ function addEvent( obj, type, fn ) {
}
elseif( ! is_array($value) AND ! is_object($value))
{
- $output .= '<b>'.htmlentities($value).'</b>';
+ $output .= '<b>'.\Security::htmlentities($value).'</b>';
}
$output .= str_repeat('&rsaquo;&nbsp;', $depth).$item.'</td></tr>';
if($class == '') $class = 'alt'; else $class = '';

0 comments on commit 90ccad3

Please sign in to comment.