Skip to content

Commit

Permalink
Merge pull request #1203 from UziTech/UziTech-patch-1
Browse files Browse the repository at this point in the history
use default options in Renderer
  • Loading branch information
styfle authored Apr 5, 2018
2 parents 0284ffc + a19e2b6 commit f4387f8
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 f4387f8

Please sign in to comment.