Fix display of brackets in the labels view

Fixes https://jira.coreos.com/browse/QUAY-983
This commit is contained in:
Joseph Schorr 2018-06-14 11:44:20 -04:00
parent 1f823097a8
commit 02db044e0e

View file

@ -24,7 +24,7 @@ angular.module('quay').directive('labelView', function () {
bootbox.alert({ bootbox.alert({
size: "small", size: "small",
title: $scope.label.key, title: $scope.label.key,
message: '<pre>' + $sanitize($scope.label.value) + '</pre>' message: '<pre>' + $sanitize($scope.label.value.replace('<', '&lt;').replace('>', '&gt;')) + '</pre>'
}); });
}; };
} }