Skip to content

Commit

Permalink
send inline html to renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Feb 12, 2020
1 parent 416003b commit 1b70c4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/InlineLexer.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ module.exports = class InlineLexer {
}

src = src.substring(cap[0].length);
out += this.options.sanitize
? this.options.sanitizer
out += this.renderer.html(this.options.sanitize
? (this.options.sanitizer
? this.options.sanitizer(cap[0])
: escape(cap[0])
: cap[0];
: escape(cap[0]))
: cap[0]);
continue;
}

Expand Down

0 comments on commit 1b70c4a

Please sign in to comment.