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:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user