#extra text after Picture / Image in mdx

13 messages · Page 1 of 1 (latest)

quiet sky
#

for some reason there's a additional text that got printed after the picture from astro:assests

anyone had similar issues before?

round aurora
#

That's... definitely not normal

#

But I'll be honest, I have no idea why it would do so and I've never seen this before

quiet sky
#

I am not sure why it's appended there either, and I haven't be able to remove it.

but thanks for letting me know it's abnormal.

#

this issue also occurs to me in with Image in astro:assests, i'll use the regular img tag for the time being

shell timber
dry stump
#

Considering im using the Image component and dont see that it really makes me wonder why its doing that for your setup....

quiet sky
# shell timber Any chance you’d want to share your repo or a minimal reproduction? This is craz...

Hi Oliver,

This is indeed kinda crazy, haha.
I am thinking it might be some issue on local, as it's completely normal when deployed, not sure if it's replicable.
I tried to do a npm update, but it seems to still doing it on local only

here is the link to the repo: https://github.com/eiffelwong1/eiffelwong1.github.io
here is the link to deployed page: https://eiffelwong1.github.io/blog/01-first-blog/first-blog/ (which is completely normal, the bug was not there.)

quiet sky
quiet sky
#

oh I fix the issue, i didn't do anything but a npm update, seems to solve the issue locally too.

#

thanks for all the help 😄

dry stump
#

dang i should have said to do a quick update XD