diff --git a/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee b/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee index 71b52a4f38..bef2edfc41 100644 --- a/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee +++ b/services/web/public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee @@ -265,10 +265,4 @@ define [ blankOutBlacklistedCommands: (line) -> line.replace @blacklistedCommandRegex, (command) -> - command.replace( - /{.*}/, (args) -> - '{' + args.slice(1, args.length-1).split('').map((_char)-> '.').join('') + '}' - ).replace( - /\[.*\]/, (args) -> - '[' + args.slice(1, args.length-1).split('').map((_char)-> '.').join('') + ']' - ) + Array(command.length+1).join('.')