# Spoilers not working for external images

**URL:** <https://meta.discourse.org/t/spoilers-not-working-for-external-images/41827>\
**Category:** Bug\
**Tags:** markdown-it-review\
**Created:** [31 مارس 2016، 2:29م UTC](https://meta.discourse.org/t/spoilers-not-working-for-external-images/41827 "2016-03-31T14:29:34Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [1 أبريل 2016، 3:15ص UTC](https://meta.discourse.org/t/spoilers-not-working-for-external-images/41827/6 "2016-04-01T03:15:56Z")

</div>

That’s because you’re doing

`[spoiler]https://i.imgur.com/zJ4M8Fx.jpg[/spoiler]`

instead of

```plaintext
[spoiler]
https://i.imgur.com/zJ4M8Fx.jpg
[/spoiler]

```

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

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

---

_[View the full topic](https://meta.discourse.org/t/spoilers-not-working-for-external-images/41827)._
