Footnotes plugin wrong media url on homepage


I’m using the footnotes plugin by @sylvainjule .

On the homepage only, when a kirbytag is calling for an image like (image: myimage.jpg), the url on the front-end is wrong.

For exemple, I get
<img src="">

instead of

<img src="">

This issue comes only on the homepage, the footnotes still works, but breaks every media URL from kirbytags.(Tested on a fresh starterkit 3.7)

Can you help me, if you notice something wrong, maybe inside this file from the plugin ?