Spoilers not working for external images





PS: the pic is very lewd be careful when you click it.


One of our community members reported me about this spoiler not working. After few tests on my community. The image uploaded to my discourse over there the spoiler works perfectly, but external image links do not work.



As of now still does not work, apologies for a second post.

That’s because you’re doing


instead of


URLs need to start and be on their own line to onebox

Sorry. Now I see what you mean. The URL should show beneath the spoiler without it trying to onebox and fail.

1 Like

Thanks, I am currently on 1.5 beta 14. I have a question, is the stable version also facing the same problem?

I don’t know, I always run Master.

I shifted to stable and i can confirm that the spoiler issue is still the same.

1 Like

Works for me, and works on my locale too!

Maybe fetch and rebase master branch?

The link is under a spoiler not an image. That is an image, it should be under spoiler.

1 Like

If you want an image under the spoiler it needs to be done as I earlier showed.
spoiler tag
image URL
end spoiler tag

spoiler tag image URL end spoiler tag
on one line

1 Like

Yes that works perfectly. But if i am not wrong, the image was under spoiler directly when
spoiler tag image URL end spoiler tag :question:

1 Like

I think that this is a markdown problem, the maintainers are going to move to a new markdown engine, i don’t know when, but @sam and @codinghorror did tell me that several times on some other bug topics… maybe is that

Hmm yeah this seems impossible at the moment.


by itself. But spoilered?

1 Like

Aha after it auto-downloads remote image, it works, but not before.

1 Like

Maybe @sam wants to add this bug to CommonMark testing started here! ?

Not sure what the bug is?


Let me see:


As a spoiler:


I think it has to do with the size of the remote image, such that it won’t be downloaded locally.

I think it’s a onebox edge case… very easy to work around


I’m impressed that you posted that image already 2 weeks ago considering that the idea is trending only now on twitter… :hushed: