From 32fb61f039933a946067cff434e8a3386694a1d4 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Fri, 1 Sep 2017 11:36:54 +0200 Subject: sig-monitor: Dump stack atomically MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Emitting the stack as a single string avoids its accidental split and is better when receiving monitoring events. Change-Id: I74c16f36f026b4af4a42064f694ac1f4a342cc1f Signed-off-by: José Bollo --- test/monitoring/monitor.js | 1 + 1 file changed, 1 insertion(+) (limited to 'test/monitoring/monitor.js') diff --git a/test/monitoring/monitor.js b/test/monitoring/monitor.js index 22d71824..6ca75cc6 100644 --- a/test/monitoring/monitor.js +++ b/test/monitoring/monitor.js @@ -499,6 +499,7 @@ function obj2html(json) { cls = 'key'; } else { cls = 'string'; + match = match.replace(/\\n/g, "\\n
"); } } else if (/true|false/.test(match)) { cls = 'boolean'; -- cgit 1.2.3-korg