Skip to content

Commit 3ab4bf5

Browse files
author
MarkedJS bot
committed
🗜️ build [skip ci]
1 parent a4c9c84 commit 3ab4bf5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/marked.esm.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1216,11 +1216,11 @@ var InlineLexer_1 = class InlineLexer {
12161216
}
12171217

12181218
src = src.substring(cap[0].length);
1219-
out += this.options.sanitize
1220-
? this.options.sanitizer
1219+
out += this.renderer.html(this.options.sanitize
1220+
? (this.options.sanitizer
12211221
? this.options.sanitizer(cap[0])
1222-
: escape$3(cap[0])
1223-
: cap[0];
1222+
: escape$3(cap[0]))
1223+
: cap[0]);
12241224
continue;
12251225
}
12261226

lib/marked.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@
11391139
}
11401140

11411141
src = src.substring(cap[0].length);
1142-
out += this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape$3(cap[0]) : cap[0];
1142+
out += this.renderer.html(this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape$3(cap[0]) : cap[0]);
11431143
continue;
11441144
} // link
11451145

0 commit comments

Comments
 (0)