# HTML tags in plaintext digest when missing a translation

**URL:** <https://meta.discourse.org/t/html-tags-in-plaintext-digest-when-missing-a-translation/68151>\
**Category:** Bug\
**Tags:** activity-summary\
**Created:** [August 16, 2017, 11:36am UTC](https://meta.discourse.org/t/html-tags-in-plaintext-digest-when-missing-a-translation/68151 "2017-08-16T11:36:35Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [October 30, 2017, 8:34pm UTC](https://meta.discourse.org/t/html-tags-in-plaintext-digest-when-missing-a-translation/68151/6 "2017-10-30T20:34:13Z")

</div>

The fallback to English is happening, but still the span is there.

`<span class="translation_missing" title="translation missing: en.user_notifications.digest.unsubscribe">Unsubscribe</span>`

Notice the word “Unsubscribe” is there. My site was supposed to be French, but it’s saying that the english translation is missing too… So wrong.

> [@Phyks](#):
>
> The true issue (in my opinion) is that if a translation is missing, plaintext emails get HTML tags in them.

ActiveSupport is trying to be helpful by adding that span, and I don’t see a way to stop it in the case that we’re not using it in HTML…

---

_[View the full topic](https://meta.discourse.org/t/html-tags-in-plaintext-digest-when-missing-a-translation/68151)._
