Skip to content

Commit

Permalink
Revert "bugfix / checks for disabledElements in Renderer"
Browse files Browse the repository at this point in the history
This reverts commit bd17c85.
  • Loading branch information
szego committed Oct 13, 2015
1 parent bd17c85 commit a3fe3b9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -766,11 +766,7 @@ InlineLexer.prototype.mangle = function(text) {
*/

function Renderer(options) {
this.options = options || {};

for(var i = 0; i < this.options.disabledElements.length; i++) {
this[this.options.disabledElements[i]] = noop;
}
this.options = options || {};
}

Renderer.prototype.code = function(code, lang, escaped) {
Expand Down

0 comments on commit a3fe3b9

Please sign in to comment.