|
|
@@ -79,7 +79,9 @@ function (_, $, coreModule) {
|
|
|
$scope.$apply(function() {
|
|
|
$scope.getOptions({ $query: query }).then(function(altSegments) {
|
|
|
$scope.altSegments = altSegments;
|
|
|
- options = _.map($scope.altSegments, function(alt) { return alt.value; });
|
|
|
+ options = _.map($scope.altSegments, function(alt) {
|
|
|
+ return _.escape(alt.value);
|
|
|
+ });
|
|
|
|
|
|
// add custom values
|
|
|
if (segment.custom !== 'false') {
|