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:
parent
9a20857262
commit
fcd0428927
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue