diff --git a/lib/marked.js b/lib/marked.js index 6e17d58f6b..fd56e4ed9b 100644 --- a/lib/marked.js +++ b/lib/marked.js @@ -114,7 +114,7 @@ function Lexer(options) { } for(var i = 0; i < this.options.disabledElements.length; i++) { - this.rules[this.options.disabledElements[i]].exec = function() {}; + this.rules[this.options.disabledElements[i]] = noop; } }