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.2
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.3
Choose a head ref
  • 3 commits
  • 6 files changed
  • 3 contributors

Commits on Apr 11, 2021

  1. fix: actually add a type property to the def token (#2002)

    Hmm I think I modified the wrong file (`lib/marked.js`) in the previous PR (see #2001) , this should be the right one ! Sorry for that.
    sapristi authored Apr 11, 2021
    1

    Verified

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

    MarkedJS bot committed Apr 11, 2021
    Copy the full SHA
    a4a0900 View commit details
  3. chore(release): 2.0.3 [skip ci]

    ## [2.0.3](v2.0.2...v2.0.3) (2021-04-11)
    
    ### Bug Fixes
    
    * actually add a `type` property to the `def` token ([#2002](#2002)) ([47e65cf](47e65cf))
    semantic-release-bot committed Apr 11, 2021
    1
    Copy the full SHA
    d4699f4 View commit details
Showing with 6 additions and 3 deletions.
  1. +1 −0 lib/marked.esm.js
  2. +1 −0 lib/marked.js
  3. +1 −1 marked.min.js
  4. +1 −1 package-lock.json
  5. +1 −1 package.json
  6. +1 −0 src/Tokenizer.js
1 change: 1 addition & 0 deletions lib/marked.esm.js
Original file line number Diff line number Diff line change
@@ -659,6 +659,7 @@ var Tokenizer_1 = class Tokenizer {
if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
const tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
return {
type: 'def',
tag,
raw: cap[0],
href: cap[2],
1 change: 1 addition & 0 deletions lib/marked.js
Original file line number Diff line number Diff line change
@@ -751,6 +751,7 @@
if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
var tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
return {
type: 'def',
tag: tag,
raw: cap[0],
href: cap[2],
Loading