# Rendering of e-mail template adds unnecessary whitespace

**URL:** <https://meta.discourse.org/t/rendering-of-e-mail-template-adds-unnecessary-whitespace/62399>\
**Category:** Feature\
**Created:** [2017 年5 月 10 日 02:21 UTC](https://meta.discourse.org/t/rendering-of-e-mail-template-adds-unnecessary-whitespace/62399 "2017-05-10T02:21:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![vchuravy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vchuravy/32/120525_2.png) [@vchuravy](https://meta.discourse.org/u/vchuravy)\
发布日期： [2017 年5 月 10 日 02:21 UTC](https://meta.discourse.org/t/rendering-of-e-mail-template-adds-unnecessary-whitespace/62399/1 "2017-05-10T02:21:40Z")

</div>

I have the following e-mail template:

```plaintext
%{message}

%{context}

%{respond_instructions}

```

Which in turn creates the following e-mail

```plaintext
----==_mimepart_59121ceab749e_713fcbab014f1c98278
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<p><div style='margin-left: 15px'><br>[text]</p>

<p>[text]</p>

<p></div></p>

<hr>

<p><a href="[link]">Visit Topic</a> or reply to this email to respond.</p>

<p>You are receiving this because you enabled mailing list mode.</p>

<p>To unsubscribe from these emails, <a href="[LINK]">click here</a>.</p>
----==_mimepart_59121ceab749e_713fcbab014f1c98278--

```

The `<div style='margin-left: 15px'>` creates an unnecessary whitespace indentation and seems odd in itself.

CC: @yuyichao

---

_[View the full topic](https://meta.discourse.org/t/rendering-of-e-mail-template-adds-unnecessary-whitespace/62399)._
