Commit cfd26f60 by Jonny Schulz

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

parent 481ef2d1
......@@ -274,6 +274,7 @@ 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>')
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment