arve0/markdown-it-implicit-figures

Acting buggy on another use case

felixsanz opened this issue ยท 2 comments

Hey! ๐Ÿ˜ฌ I've found another use case where the plugin fails to parse correctly.

The markdown content is this:

## Header

[link](http://www.example.com)

## Header

[link](http://www.example.com)

Returns this:

<h2>Header</h2>
<figure><a href="http://www.example.com">link</a></figure>
<h2>Header</h2>
<figure><a href="http://www.example.com">link</a></figure>

Example: https://jsfiddle.net/jzyag4pv/4/

arve0 commented

Dammit I'm sloppy reviewing PRs. Also related to #10. Fix in 2 minutes.

arve0 commented

Fixed in v0.3.2