We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6deff1 + eb0aeb1 commit 3a9912bCopy full SHA for 3a9912b
src/js/parser.js
@@ -8,7 +8,7 @@ var Parser = function(config) {
8
this.parseMdown = config.parsingFunction;
9
} else {
10
var converter = new showdown.Converter();
11
- this.parseMdown = converter.makeHtml;
+ this.parseMdown = converter.makeHtml.bind(converter);
12
}
13
14
@@ -120,4 +120,4 @@ Parser.prototype.getTitle = function(mdown){
120
return match? match[1].trim() : '';
121
122
123
-module.exports = Parser;
+module.exports = Parser;
0 commit comments