Skip to content

Commit

Permalink
use default options in Renderer by default
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech authored Apr 4, 2018
1 parent 373fbd4 commit a19e2b6
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 @@ -788,7 +788,7 @@ InlineLexer.prototype.mangle = function(text) {
*/

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

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

0 comments on commit a19e2b6

Please sign in to comment.