diff --git a/core/modules/parsers/javascriptparser/javascriptparser.js b/core/modules/parsers/javascriptparser/javascriptparser.js index 1a50bc03d..be7b41e49 100644 --- a/core/modules/parsers/javascriptparser/javascriptparser.js +++ b/core/modules/parsers/javascriptparser/javascriptparser.js @@ -21,8 +21,6 @@ var JavaScriptParser = function(options) { // Parse a string of JavaScript code and return the parse tree as a wikitext parse tree JavaScriptParser.prototype.parse = function(type,code) { - // Simplistically replace tabs with spaces. Browsers will happily render tabs but most default to 8 character tab stops - code = code.replace(/\t/mg," "); // Try to parse the code var parseTree; try {