Replace newlines with <br/>. That makes stack traces more readable.

This commit is contained in:
Jonny Schulz
2013-05-29 14:15:40 +02:00
parent 481ef2d138
commit cfd26f601f
+2 -1
View File
@@ -274,9 +274,10 @@ angular.module('kibana.table', [])
replace(/&/g, '&amp;').
replace(/</g, '&lt;').
replace(/>/g, '&gt;').
replace(/\r?\n/g, '<br/>').
replace(/@start-highlight@/g, '<code class="highlight">').
replace(/@end-highlight@/g, '</code>')
}
return '';
}
});
});