Commit cfd26f60 by Jonny Schulz

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

parent 481ef2d1
......@@ -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 '';
}
});
\ No newline at end of file
});
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