prettydiff
prettydiff copied to clipboard
Drop exception if string has \n or \r
https://github.com/prettydiff/prettydiff/blob/0d5b434434f13377f80470924fb36d9ebb0b0233/beautify/markup.ts#L562
angular.js?7245:15570 TypeError: Cannot read property 'indexOf' of undefined
at beautify_markup_apply_multiline_lev (eval at module.exports (addScript.js?3fe7:27),
Need to check data.types[bb] && data.types[bb].indexOf("start") > -1