1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-09 22:56:41 +02:00

Fix invalid output when message contain returns

This commit is contained in:
Olivier Poitrey
2014-01-28 18:27:49 -08:00
parent 65caca2b78
commit ca88c4d4f3

View File

@@ -171,7 +171,7 @@ class BrowserConsoleHandler extends AbstractProcessingHandler
static public function quote($arg) static public function quote($arg)
{ {
return '"' . addcslashes($arg, '"') . '"'; return '"' . addcslashes($arg, "\"\n") . '"';
} }
static public function call() static public function call()