diff --git a/lib/kramed.js b/lib/kramed.js index 96b06e8..0c9ad61 100644 --- a/lib/kramed.js +++ b/lib/kramed.js @@ -599,12 +599,12 @@ InlineLexer.output = function(src, links, options) { return inline.output(src); }; -InlineLexer.prototype.escape = function(html) { +InlineLexer.prototype.escape = function(html, encode) { // Handle escaping being turned off if(this.options && this.options.escape === false) { return html; } - return escape(html); + return escape(html, encode); }; /**