ensures multiple commas in tags still work.
This commit is contained in:
@@ -20,7 +20,7 @@ angular.module("umbraco")
|
||||
if (tagToAdd.length > 0) {
|
||||
if ($scope.currentTags.indexOf(tagToAdd) < 0) {
|
||||
//we need to html encode any tag containing commas: http://issues.umbraco.org/issue/U4-4741
|
||||
tagToAdd = tagToAdd.replace(",", ",");
|
||||
tagToAdd = tagToAdd.replace(/\,/g, ",");
|
||||
$scope.currentTags.push(tagToAdd);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user