diff options
-rw-r--r-- | it_debug.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class index 95a414a..fc45b2d 100644 --- a/it_debug.class +++ b/it_debug.class @@ -160,7 +160,7 @@ function dump($args) if ($GLOBALS['debug_indent']) $r = str_repeat(" ", count(debug_backtrace())-3) . $r; - $title = it_html::Q(it_debug::backtrace(array('skiplevels' => 1))); + $title = htmlspecialchars(it_debug::backtrace(array('skiplevels' => 1))); if (isset($_SERVER['REMOTE_ADDR']) && !$plain) return "<pre title='$title' style='color:#c00; text-align:left; background-color:white; margin:0; padding:0.25em; border-bottom:1px solid #ddd'>$r</pre>\n"; |