Skip to content

Commit

Permalink
🗜️ build [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkedJS bot committed May 21, 2021
1 parent 1d97308 commit 8d40451
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/marked.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2416,6 +2416,9 @@ function marked(src, opt, callback) {

if (!err) {
try {
if (opt.walkTokens) {
marked.walkTokens(tokens, opt.walkTokens);
}
out = Parser.parse(tokens, opt);
} catch (e) {
err = e;
Expand Down
4 changes: 4 additions & 0 deletions lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -2521,6 +2521,10 @@

if (!err) {
try {
if (opt.walkTokens) {
marked.walkTokens(tokens, opt.walkTokens);
}

out = Parser.parse(tokens, opt);
} catch (e) {
err = e;
Expand Down
2 changes: 1 addition & 1 deletion marked.min.js

Large diffs are not rendered by default.

0 comments on commit 8d40451

Please sign in to comment.