Merge pull request #1591 from RachBreeze/U4-7239
U4-7239 Now trims the parameters
This commit is contained in:
@@ -95,6 +95,8 @@ namespace umbraco
|
||||
{
|
||||
var attributeValueSplit = (attributeValue).Split(',');
|
||||
|
||||
attributeValueSplit = attributeValueSplit.Select(x => x.Trim()).ToArray();
|
||||
|
||||
// before proceeding, we don't want to process anything here unless each item starts/ends with a [ ]
|
||||
// this is because the attribute value could actually just be a json array like [1,2,3] which we don't want to parse
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user