Skip to content

Commit 1b70c4a

Browse files
committed
send inline html to renderer
1 parent 416003b commit 1b70c4a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/InlineLexer.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ module.exports = class InlineLexer {
8282
}
8383

8484
src = src.substring(cap[0].length);
85-
out += this.options.sanitize
86-
? this.options.sanitizer
85+
out += this.renderer.html(this.options.sanitize
86+
? (this.options.sanitizer
8787
? this.options.sanitizer(cap[0])
88-
: escape(cap[0])
89-
: cap[0];
88+
: escape(cap[0]))
89+
: cap[0]);
9090
continue;
9191
}
9292

0 commit comments

Comments
 (0)