Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
```md ![](img.png) {.asdf} ``` will give ```js Token { type: 'inline', tag: '', attrs: null, map: [ 0, 1 ], nesting: 0, level: 1, children: [ Token { type: 'image', tag: 'img', attrs: [Object], map: null, nesting: 0, level: 0, children: [], content: '', markup: '', info: '', meta: null, block: false, hidden: false }, Token { type: 'text', tag: '', attrs: null, map: null, nesting: 0, level: 0, children: null, content: '', markup: '', info: '', meta: null, block: false, hidden: false } ], content: '![](img.png)', markup: '', info: '', meta: null, block: true, hidden: false } ``` This removes last child with empty text. Fixes markdown-it-implicit-figures#13.
- Loading branch information