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 e57a7beb32..a5d2b00a01 100644
--- a/awx/ui/client/src/inventories/list/inventory-list.controller.js
+++ b/awx/ui/client/src/inventories/list/inventory-list.controller.js
@@ -197,7 +197,7 @@ function InventoriesList($scope, $rootScope, $location, $log,
". Click for details\" aw-tip-placement=\"top\">\n";
html += "
" + ($filter('longDate')(row.finished)).replace(/ /,' ') + " | ";
html += "" + ellipsis(row.name) + " | ";
+ ". Click for details\" aw-tip-placement=\"top\">" + $filter('sanitize')(ellipsis(row.name)) + "";
html += "\n";
});
html += "\n";
@@ -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";
}
});