escape HTML in debug data
This commit is contained in:
parent
118d50a76e
commit
05ab38d355
@ -28,7 +28,7 @@
|
|||||||
unset($debug['start']);
|
unset($debug['start']);
|
||||||
|
|
||||||
}
|
}
|
||||||
$options['body'] .= '<h3>Debug</h3><pre style="white-space: pre-wrap;font-size: 10px;">' . str_replace("\n", '<br/>', print_r($debug, true)) . '</pre>';
|
$options['body'] .= '<h3>Debug</h3><pre style="white-space: pre-wrap;font-size: 10px;">' . str_replace("\n", '<br/>', utf8tohtml(print_r($debug, true))) . '</pre>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$loader->setPaths($config['dir']['template']);
|
$loader->setPaths($config['dir']['template']);
|
||||||
|
Loading…
Reference in New Issue
Block a user