Picture hidden inside expanding details is not visible


(Maestro Magnifico) #1
There's a picture inside but you can't see it


(Khoa Nguyen) #2

Some how, the image width and height are both 0

<a href="http://www.animalsden.com/wp-content/uploads/2010/09/cat-bunny-hat.jpg" target="_blank"><img src="http://www.animalsden.com/wp-content/uploads/2010/09/cat-bunny-hat.jpg" width="0" height="0"></a>

From this markdown

https://meta.discourse.org/t/we-now-support-hidden-and-expanding-text-in-posts/25712

[details=There's a picture inside but you can't see it]http://www.animalsden.com/wp-content/uploads/2010/09/cat-bunny-hat.jpg[/details]

(Jeff Atwood) #3

I can see it fine in Mobile Safari at least.

Interesting, after removing the onebox above, now I can’t see it! Perhaps a bug for you @zogstrip?


(Régis Hanol) #4

Thanks @Maestra_Powers for reporting that issue. I just pushed a fix :penguin:

https://github.com/discourse/discourse/commit/5d74cadf2feabd347bbcd935ae76d7a471aec006


(Régis Hanol) #5