mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
commit
21f348c8d9
@ -269,7 +269,7 @@ angular.module('kibana.table', [])
|
|||||||
})
|
})
|
||||||
.filter('highlight', function() {
|
.filter('highlight', function() {
|
||||||
return function(text) {
|
return function(text) {
|
||||||
if (text.toString().length) {
|
if (text.toString().length > 0 && !_.isUndefined(text) && !_.isNull(text)) {
|
||||||
return text.toString().
|
return text.toString().
|
||||||
replace(/&/g, '&').
|
replace(/&/g, '&').
|
||||||
replace(/</g, '<').
|
replace(/</g, '<').
|
||||||
|
Loading…
Reference in New Issue
Block a user