# Spoiler-Text in E-Mails fehlt einfach

**URL:** <https://meta.discourse.org/t/spoiler-text-in-emails-is-simply-missing/113826>\
**Category:** Bug\
**Created:** [9. April 2019 um 04:04 UTC](https://meta.discourse.org/t/spoiler-text-in-emails-is-simply-missing/113826 "2019-04-09T04:04:52Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [9. April 2019 um 19:52 UTC](https://meta.discourse.org/t/spoiler-text-in-emails-is-simply-missing/113826/5 "2019-04-09T19:52:18Z")

</div>

> [@sam](#):
>
> The HTML issue though is easy to correct.

@nbianca can you ensure we haven’t regressed in properly “blacking out” spoiler in HTML emails?

> <https://github.com/discourse/discourse-spoiler-alert/blob/095484835a8d3fc33c5abfa8fc626c0aadcd736f/plugin.rb#L14-L19>

We should add a test as well since we’ve regressed more than once on this one ☹

> [@sam](#):
>
> @zogstrip do you have any more context around the complete removal of spoilers from email html? I do recall we had some discussion about this in the past.

I remember we thought about 3 options

1. completely removing spoilers
2. blacking out spoilers
3. replacing the content of the spoiler with a link to the post

I remember doing 2 because it was easier than 3 but provided a better UX than 1.

---

_[View the full topic](https://meta.discourse.org/t/spoiler-text-in-emails-is-simply-missing/113826)._
