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

pull/7/head
Jonny Schulz 12 years ago
parent 481ef2d138
commit cfd26f601f
  1. 3
      panels/table/module.js

@ -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 '';
}
});
});

Loading…
Cancel
Save