# Rich text not displaying correctly

**URL:** <https://community.glideapps.com/t/rich-text-not-displaying-correctly/4858>\
**Category:** Ask for Help\
**Created:** [February 23, 2020, 6:29am UTC](https://community.glideapps.com/t/rich-text-not-displaying-correctly/4858 "2020-02-23T06:29:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gila](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gila/32/2961_2.png) [@gila](https://community.glideapps.com/u/gila)\
**Post date:** [February 23, 2020, 6:29am UTC](https://community.glideapps.com/t/rich-text-not-displaying-correctly/4858/1 "2020-02-23T06:29:16Z")

</div>

I have a form with a notes entry component.

Having trouble getting the text to be formatted with line breaks when output as rich text. As you can see below, there are no line breaks. If formatted as entered it should appear as

Monday - school  
Tuesday - family  
Thursday - school  
Friday - family

Any thoughts on why this is happening? I’m probably missing something really simple.

 ![Screen Shot 2020-02-23 at 5.13.21 pm](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/a/a3754430ad17f2698acbbb05a54c6361d741e805.png)

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [February 23, 2020, 10:34am UTC](https://community.glideapps.com/t/rich-text-not-displaying-correctly/4858/2 "2020-02-23T10:34:09Z")

</div>

Rich text component is based on markdown formatting. If you want a line break, you have to type 2 space characters at the end of each line, then a carriage return. You’ll get the line breaks this way.

---

<div class="post-metadata">

**Author:** ![gila](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gila/32/2961_2.png) [@gila](https://community.glideapps.com/u/gila)\
**Post date:** [February 23, 2020, 10:40am UTC](https://community.glideapps.com/t/rich-text-not-displaying-correctly/4858/3 "2020-02-23T10:40:11Z")

</div>

Thanks @Christophe_HK.

My users are going to be entering the text and won’t know to do that. Any recommendations for easily displaying user generated text on multiple lines?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 23, 2020, 2:07pm UTC](https://community.glideapps.com/t/rich-text-not-displaying-correctly/4858/4 "2020-02-23T14:07:27Z")

</div>

I do the 2 spaces and a carriage return when editing test that will be in a rich text component. It looks like you can get away with 2 carriage returns inside a note or text entry to get a paragraph line break. It’s still not user friendly, but that’s the nature of markdown. I wish there was a better way to handle note taking, but I don’t think there is any at this time.

---

<div class="post-metadata">

**Author:** ![George\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_b/32/534_2.png) [@George\_B](https://community.glideapps.com/u/George_B)\
**Post date:** [February 24, 2020, 1:10am UTC](https://community.glideapps.com/t/rich-text-not-displaying-correctly/4858/5 "2020-02-24T01:10:23Z")

</div>

@gila. You could add those spaces at the end of each line by creating another column and using this formula (assuming the entered data is in column A):

```auto
=SUBSTITUTE(A2, CHAR(10), " " & CHAR(10))

```

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 24, 2020, 2:17am UTC](https://community.glideapps.com/t/rich-text-not-displaying-correctly/4858/6 "2020-02-24T02:17:41Z")

</div>

@George_B…genius. I had thought “why not use a template column to add those characters?” or the like, but realized that it would have to be a template per line, which wouldn’t work. Didn’t even think of using the “substitute” formula.

---

<div class="post-metadata">

**Author:** ![gila](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gila/32/2961_2.png) [@gila](https://community.glideapps.com/u/gila)\
**Post date:** [February 24, 2020, 7:44am UTC](https://community.glideapps.com/t/rich-text-not-displaying-correctly/4858/7 "2020-02-24T07:44:30Z")

</div>

@George_B thank you again!
