Skip to content

Commit fa6f857

Browse files
committed
account for context passed as second arg
1 parent 20d2b91 commit fa6f857

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ module.exports = function markdown(config) {
1717
}
1818

1919
config = config || {};
20-
21-
if (config.fn || config.hash) {
20+
if (config.fn || config.hash || arguments.length > 1) {
2221
return helper.apply(this, arguments);
2322
}
2423

0 commit comments

Comments
 (0)