queen-raae / gatsby-remark-oembed

A GatsbyJS Plugin that transforms oembed links into its corresponding embed code.
https://gatsby-remark-oembed.netlify.com/
MIT License
162 stars 25 forks source link

Transforms links that are image links #162

Closed raae closed 2 years ago

raae commented 2 years ago
[![Tweet](https://queen.raae.codes/testimonials/gatsby-plugin-starter-ash.png)](https://twitter.com/Ash_Hitchcock/status/1471048277747548163?s=20&t=YKN2khQAbqaLSSccqculsw)

Should not be transformed.

It happens because we look for links inside root paragraphs, but do not check it they themselves do not contain nodes.

raae-bot commented 2 years ago

:tada: This issue has been resolved in version 0.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: