From cfd26f601f1ffc792a3819adff0a84c65515a779 Mon Sep 17 00:00:00 2001 From: Jonny Schulz Date: Wed, 29 May 2013 14:15:40 +0200 Subject: [PATCH] Replace newlines with
. That makes stack traces more readable. --- panels/table/module.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panels/table/module.js b/panels/table/module.js index ffac5446cac..e5b3033271a 100644 --- a/panels/table/module.js +++ b/panels/table/module.js @@ -274,9 +274,10 @@ angular.module('kibana.table', []) replace(/&/g, '&'). replace(//g, '>'). + replace(/\r?\n/g, '
'). replace(/@start-highlight@/g, ''). replace(/@end-highlight@/g, '') } return ''; } -}); \ No newline at end of file +});