# \[spoiler\] does not support emoji

**URL:** <https://meta.discourse.org/t/spoiler-does-not-support-emoji/29902>\
**Category:** Bug\
**Tags:** emoji\
**Created:** [June 11, 2015, 6:50pm UTC](https://meta.discourse.org/t/spoiler-does-not-support-emoji/29902 "2015-06-11T18:50:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![accalia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/accalia/32/48626_2.png) [@accalia](https://meta.discourse.org/u/accalia)\
**Post date:** [June 11, 2015, 9:22pm UTC](https://meta.discourse.org/t/spoiler-does-not-support-emoji/29902/3 "2015-06-11T21:22:28Z")

</div>

> [@pl3bs](#):
>
> If the tag doesn’t work for emoji’s why would you expect it to work inside tags that also include an emoji.

i’m having trouble parsing this, why would this not be a bug? Okay so emoji aren’t supported in spoiler, that turns my first example into a feature request, but the second example has to be a bug. Look at my second example:

`[spoiler]prefix text <img src="/images/emoji/emoji_one/+1.png?v=0" title=":+1:" width="20" height="20" class="emoji" alt="+1"> Suffix text[/spoiler]`

this produces bad output where the manually placed emoji is spoilered, but the text is not, even though it is clearly marked to be spoilered in the markup:

prefix text 👍 Suffix text

 ![](https://global.discourse-cdn.com/meta/original/3X/3/1/3103240c8ccb8260bbb689f5984bdd679a8d15f8.png) 

or an example that doesn’t use an emoji:

`[spoiler]prefix text <img src="//cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/original/3X/2/4/245f54ed160ca0a7315e55e66f50ffda001ba9f9.png" title="discourse"> Suffix text[/spoiler]`

prefix text ![](https://global.discourse-cdn.com/meta/original/3X/2/4/245f54ed160ca0a7315e55e66f50ffda001ba9f9.png "discourse") Suffix text

Clearly spoilers work for images, and they work for text, but they do not work for text and images, regardless of the source of the images. That is a bug.

---

_[View the full topic](https://meta.discourse.org/t/spoiler-does-not-support-emoji/29902)._
