mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
commit
0803ed1baa
@ -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, '<').
|
||||
|
Loading…
Reference in New Issue
Block a user