diff --git a/src/oncall/ui/static/js/oncall.js b/src/oncall/ui/static/js/oncall.js index 9189bd8d..022985e2 100644 --- a/src/oncall/ui/static/js/oncall.js +++ b/src/oncall/ui/static/js/oncall.js @@ -579,11 +579,11 @@ var oncall = { }, footer: function(resp){ if (teamsCt > typeaheadLimit) { - return '
See all ' + teamsCt + ' results for teams »
'; + return '
See all ' + teamsCt + ' results for teams »
'; } }, empty: function(resp){ - return '

No results found for "' + resp.query + '"

'; + return '

No results found for "' + Handlebars.escapeExpression(resp.query) + '"

'; } } }, @@ -604,7 +604,7 @@ var oncall = { }, footer: function(resp){ if (servicesCt > typeaheadLimit) { - return '
See all ' + servicesCt + ' results for services »
'; + return '
See all ' + servicesCt + ' results for services »
'; } } } @@ -626,7 +626,7 @@ var oncall = { }, footer: function(resp){ if (usersCt > typeaheadLimit) { - return '
See all ' + usersCt + ' results for users »
'; + return '
See all ' + usersCt + ' results for users »
'; } } }