Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: markedjs/marked
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.4
Choose a base ref
...
head repository: markedjs/marked
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.5
Choose a head ref
  • 3 commits
  • 7 files changed
  • 3 contributors

Commits on May 21, 2021

  1. 1

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1d97308 View commit details
  2. 🗜️ build [skip ci]

    MarkedJS bot committed May 21, 2021
    Copy the full SHA
    8d40451 View commit details
  3. chore(release): 2.0.5 [skip ci]

    ## [2.0.5](v2.0.4...v2.0.5) (2021-05-21)
    
    ### Bug Fixes
    
    * call walkTokens when calling marked with a callback([#2060](#2060)) ([1d97308](1d97308))
    semantic-release-bot committed May 21, 2021
    1
    Copy the full SHA
    b5e1272 View commit details
Showing with 27 additions and 3 deletions.
  1. +3 −0 lib/marked.esm.js
  2. +4 −0 lib/marked.js
  3. +1 −1 marked.min.js
  4. +1 −1 package-lock.json
  5. +1 −1 package.json
  6. +3 −0 src/marked.js
  7. +14 −0 test/unit/marked-spec.js
3 changes: 3 additions & 0 deletions lib/marked.esm.js
Original file line number Diff line number Diff line change
@@ -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;
4 changes: 4 additions & 0 deletions lib/marked.js
Original file line number Diff line number Diff line change
@@ -2521,6 +2521,10 @@

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

out = Parser.parse(tokens, opt);
} catch (e) {
err = e;
Loading