Merge pull request #126 from bloonix/master

Replace newlines with <br/>.
This commit is contained in:
Rashid Khan
2013-05-29 10:52:03 -07:00
+2 -1
View File
@@ -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 '';
}
});
});