We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d3c4b commit 2c69f05Copy full SHA for 2c69f05
index.js
@@ -40,7 +40,7 @@ module.exports = function markdown(config) {
40
}
41
42
var md = new Remarkable(options);
43
- var ctx = merge({}, options, this, this.context, context);
+ var ctx = merge({}, options, (this.context || this), context);
44
return md.render(options.fn(ctx));
45
46
0 commit comments