diff --git a/README.md b/README.md index 1e54652437..3e70c383b7 100644 --- a/README.md +++ b/README.md @@ -432,7 +432,7 @@ Image sequencer supports stringifying a sequence which is appended to the url an channel{channel:green},invert{} ``` -Sequencer also supports the use of `()` in place of `{}` for backward compatibility with older links. (This syntax is deprecated and should be avoided as far as possible) +The use of `()` in place of `{}` for backward compatibility with older links is now **deprecated**. (There is no longer support for the following syntax, and should be avoided) ``` channel(channel:green),invert() ``` diff --git a/src/Strings.js b/src/Strings.js index 7be6d0da02..3ae913ffe3 100644 --- a/src/Strings.js +++ b/src/Strings.js @@ -105,7 +105,7 @@ module.exports = function(steps, modulesInfo, addSteps, copy) { stepSettings = stepSettings.split('|').reduce(function formatSettings(accumulator, current, i) { var settingName = current.substr(0, current.indexOf(':')), settingValue = current.substr(current.indexOf(':') + 1); - settingValue = settingValue.replace(/^\(/, '').replace(/\)$/, ''); // strip () at start/end + settingValue = settingValue.replace(/^\(/, ''); // strip () at start/end settingValue = settingValue.replace(/^\{/, '').replace(/\}$/, ''); // strip {} at start/end settingValue = decodeURIComponent(settingValue); current = [