From 53492f3fa1346f33b8f48a2b51c2ac587a68e4a2 Mon Sep 17 00:00:00 2001 From: Ken Hoes Date: Wed, 13 Jul 2016 15:33:24 -0400 Subject: [PATCH] Added sanitize filter to other name instances --- .../client/src/inventories/list/inventory-list.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/inventories/list/inventory-list.controller.js b/awx/ui/client/src/inventories/list/inventory-list.controller.js index 142e7eff53..a5d2b00a01 100644 --- a/awx/ui/client/src/inventories/list/inventory-list.controller.js +++ b/awx/ui/client/src/inventories/list/inventory-list.controller.js @@ -232,14 +232,14 @@ function InventoriesList($scope, $rootScope, $location, $log, html += ""; html += ``; html += "" + ($filter('longDate')(row.last_updated)).replace(/ /,'
') + ""; - html += "" + ellipsis(row.summary_fields.group.name) + ""; + html += "" + $filter('sanitize')(ellipsis(row.summary_fields.group.name)) + ""; html += "\n"; } else { html += ""; html += ""; html += "NA"; - html += "" + ellipsis(row.summary_fields.group.name) + ""; + html += "" + $filter('sanitize')(ellipsis(row.summary_fields.group.name)) + ""; html += "\n"; } });