Footnotes plugin wrong media url on homepage

Hi,

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="http://mywebiste.com/image.jpg">

instead of

<img src="http://mywebiste.com/media/pages/articles/my-article/64e64b9eb8-1676574488/image.jpg">

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 ?