Skip to content

Commit 7bd82f9

Browse files
authoredJul 17, 2018
Merge pull request #24 from datesss/master
key to string to string before converting
2 parents 7c40a6a + b7eddfa commit 7bd82f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function plugin(options){
4646
data.contents = new Buffer(str);
4747
}
4848
keys.forEach(function(key) {
49-
data[key] = marked(data[key], options);
49+
data[key] = marked(data[key].toString(), options);
5050
});
5151

5252
delete files[file];

0 commit comments

Comments
 (0)
Please sign in to comment.