Commit 0803ed1b by Rashid Khan

Merge pull request #157 from marceldegraaf/master

Fixes issue #151
parents 050ee74c 1969057d
......@@ -269,7 +269,7 @@ angular.module('kibana.table', [])
})
.filter('highlight', function() {
return function(text) {
if (text.toString().length > 0 && !_.isUndefined(text) && !_.isNull(text)) {
if (!_.isUndefined(text) && !_.isNull(text) && text.toString().length > 0) {
return text.toString().
replace(/&/g, '&').
replace(/</g, '&lt;').
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment