Enable breaks in the markdown parser to stop mangling pasted logs

This commit enables converting of `\n` to `<br>` in places where things
are parsed as markdown. This stops logs which are pasted and not
formatted as markdown code blocks from being folded into one line.

Change-Id: I14990bc29b54e6ed0118b2d0290072195b3b88c2
This commit is contained in:
Adam Coldrick 2018-02-27 16:37:40 +00:00
parent 9a20857262
commit fcd0428927
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ angular.module('sb.services')
'use strict';
var md = $window.markdownit({
breaks: true,
html: true,
highlight: function(code, lang) {
if (lang && $window.hljs.getLanguage(lang)) {