Skip to content

Commit

Permalink
Make it less hacky
Browse files Browse the repository at this point in the history
  • Loading branch information
Guichaguri committed Sep 9, 2015
1 parent a7285fc commit 87df6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 87df6f3

Please sign in to comment.