Merge pull request #135 from rashidkpc/master

Fixes #123
This commit is contained in:
Rashid Khan 2013-05-29 13:23:11 -07:00
commit 21f348c8d9

View File

@ -269,7 +269,7 @@ angular.module('kibana.table', [])
})
.filter('highlight', function() {
return function(text) {
if (text.toString().length) {
if (text.toString().length > 0 && !_.isUndefined(text) && !_.isNull(text)) {
return text.toString().
replace(/&/g, '&').
replace(/</g, '&lt;').