# Full URL for image in text/plain emails

**URL:** <https://meta.discourse.org/t/full-url-for-image-in-text-plain-emails/61198>\
**Category:** Support\
**Created:** [18 Aprile 2017, 3:09pm UTC](https://meta.discourse.org/t/full-url-for-image-in-text-plain-emails/61198 "2017-04-18T15:09:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ihnorton](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ihnorton/32/121072_2.png) [@ihnorton](https://meta.discourse.org/u/ihnorton)\
**Post date:** [18 Aprile 2017, 9:00pm UTC](https://meta.discourse.org/t/full-url-for-image-in-text-plain-emails/61198/2 "2017-04-18T21:00:57Z")

</div>

Looking through the code and PR2448 more closely, the resolution to that PR, [db5f2ae](https://github.com/discourse/discourse/commit/db5f2ae88c14f259180d27425f87a46a29ff33d9), only addressed the html output of the renderer. So I guess [this substitution](https://github.com/discourse/discourse/blob/521c88fe58af5b264d04e349d5a41e5a776b4611/lib/email/sender.rb#L60-L61) would also need to be applied to `text_part`?

Unless I hear otherwise, I’ll make a PR to that effect once I get an environment set up to verify the change.

(I suppose any change will take some time to be deployed on Standard, even if accepted… So I’ll ask the user to apply that regex locally for now if they want to use a text-only viewer)

---

_[View the full topic](https://meta.discourse.org/t/full-url-for-image-in-text-plain-emails/61198)._
