# Configuring end-of-line characters for text versions of emails? (default of CR+LF appears double-spaced)

**URL:** <https://meta.discourse.org/t/configuring-end-of-line-characters-for-text-versions-of-emails-default-of-cr-lf-appears-double-spaced/251240>\
**Category:** Product Support\
**Created:** [January 10, 2023, 2:23am UTC](https://meta.discourse.org/t/configuring-end-of-line-characters-for-text-versions-of-emails-default-of-cr-lf-appears-double-spaced/251240 "2023-01-10T02:23:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![BradCray](https://avatars.discourse-cdn.com/v4/letter/b/7feea3/32.png) [@BradCray](https://meta.discourse.org/u/BradCray)\
**Post date:** [January 10, 2023, 2:23am UTC](https://meta.discourse.org/t/configuring-end-of-line-characters-for-text-versions-of-emails-default-of-cr-lf-appears-double-spaced/251240/1 "2023-01-10T02:23:03Z")

</div>

Hi Discourse Community —

Something I’ve noticed for a few years, but only bothered to look into today, is that for emails generated by Discourse, the “Text/PLAIN” version of the mail (as opposed to the “Text/HTML” version) seems to be rendered with too much vertical space in my mail viewer, as though it’s double-spaced. Digging into it a bit, it looks to me that this is because the text version uses both carriage return (CR) and linefeed (LF) to mark the ends-of-lines (where my mail reader’s preference would be to just use LF).

Is this something that is within my ability to configure as a site administrator? (e.g., a “text-email-end-of-line-character(s)” setting).

Thank you,  
-Brad

PS — Screenshots for the curious:

**Composing a message:**

 ![Screen Shot 2023-01-09 at 5.23.32 PM](https://global.discourse-cdn.com/meta/original/4X/7/d/e/7de84c041b44fabdcd822486e66bcaed1ec97cd4.png)

**As viewed in text-based mailer:**

 ![Screen Shot 2023-01-09 at 5.51.32 PM](https://global.discourse-cdn.com/meta/original/4X/d/4/0/d40050b0a3ec03ab25ae5e1a326e65a0ab73a83a.png)

**As viewed in an editor that will display the carriage returns:**

 ![Screen Shot 2023-01-09 at 6.16.09 PM](https://global.discourse-cdn.com/meta/original/4X/d/3/9/d3997b8600ce02fb9fbe7fa860e5c0ae71a044d6.png)

&nbsp;

PPS — Potentially related issue by @niemeyer: [Excessive spacing on text/plain email content](https://meta.discourse.org/t/excessive-spacing-on-text-plain-email-content/61297)

---

_[View the full topic](https://meta.discourse.org/t/configuring-end-of-line-characters-for-text-versions-of-emails-default-of-cr-lf-appears-double-spaced/251240)._
