We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6deff1 commit eb0aeb1Copy full SHA for eb0aeb1
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