# Add a CR in a text or richtext field, and display it

**URL:** <https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643>\
**Category:** Ask for Help\
**Created:** [January 29, 2025, 7:36pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643 "2025-01-29T19:36:20Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pokergeek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pokergeek/32/84163_2.png) [@Pokergeek](https://community.glideapps.com/u/Pokergeek)\
**Post date:** [January 29, 2025, 7:36pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/1 "2025-01-29T19:36:20Z")

</div>

Hi  
I have a Glide Table  
with Rich text and Text  
Text are multiline, and I would like to separate each line by one or two CR.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/3/c31240254ba24f163480730a010c6096b7e91008.png)  
Text field :

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/c/8c7176fbb7363bea7d35c7367c3eedf6a763ec08.png)

But Display like 🙂

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/e/0ee1df875cdce60f7c31747968d78e3a4109bf14.png)

---

<div class="post-metadata">

**Author:** ![Pokergeek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pokergeek/32/84163_2.png) [@Pokergeek](https://community.glideapps.com/u/Pokergeek)\
**Post date:** [January 29, 2025, 7:36pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/2 "2025-01-29T19:36:50Z")

</div>

\n are removed 😉

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [January 29, 2025, 7:46pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/3 "2025-01-29T19:46:10Z")

</div>

Add `<br>`

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [January 31, 2025, 1:12am UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/4 "2025-01-31T01:12:03Z")

</div>

Yes, I would suggest using a template to change CR to `<br>` and display it with rich text.

---

<div class="post-metadata">

**Author:** ![Pokergeek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pokergeek/32/84163_2.png) [@Pokergeek](https://community.glideapps.com/u/Pokergeek)\
**Post date:** [February 7, 2025, 3:19pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/5 "2025-02-07T15:19:40Z")

</div>

Doesn’t work

---

<div class="post-metadata">

**Author:** ![Pokergeek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pokergeek/32/84163_2.png) [@Pokergeek](https://community.glideapps.com/u/Pokergeek)\
**Post date:** [February 7, 2025, 3:24pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/6 "2025-02-07T15:24:01Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/4/542153dc7673ebee225e0e5282c0dbb3358e69cd.png)  
In DATA mode,   
 added

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/a/babf7a15fe6d03eea5ce7ad09813e852bbef8bc5.png)

In LAYOUT MODE, HTML is displayed, not executed

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [February 7, 2025, 3:31pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/7 "2025-02-07T15:31:23Z")

</div>

It looks like you are not using the text or rich text component. Because if you were using either of those components, HTML tags should not be needed.

---

<div class="post-metadata">

**Author:** ![Pokergeek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pokergeek/32/84163_2.png) [@Pokergeek](https://community.glideapps.com/u/Pokergeek)\
**Post date:** [February 7, 2025, 3:32pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/8 "2025-02-07T15:32:58Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/9/e9556ec9656d4e56ccf6b1c1a071efc1b9381654.png)

Yes RICH TEXT

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [February 7, 2025, 3:36pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/9 "2025-02-07T15:36:56Z")

</div>

No, I mean the rich text or text component in the front-end, not the column type in the data table.

 ![Screenshot 2025-02-07 at 22.36.32](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/e/6ee765e9d5f1c3d867a458a3f280e5a2de5a2d77.png)

 ![Screenshot 2025-02-07 at 22.39.45](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/0/704666f9609458ac9449af10126263e277e9d45d.jpeg)

---

<div class="post-metadata">

**Author:** ![Pokergeek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pokergeek/32/84163_2.png) [@Pokergeek](https://community.glideapps.com/u/Pokergeek)\
**Post date:** [February 7, 2025, 4:16pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/10 "2025-02-07T16:16:37Z")

</div>

Thanks Himaladin

I have 3 richtext  
My app is multi language  
I select the text based on the user language

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/4/54de583d5b0bd7eaf60c363d1b01ebd3b7e9ca89.png)

For the Front end  
I use a LIST, because I need to filter

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/4/74ab2799a8c8d03a95623290417cbeccbce5258d.png)

I can’t use Rich text from front end

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/d/fde4a13833d5f0ec81ea4c77480149f884d55b83.png)

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [February 7, 2025, 4:29pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/11 "2025-02-07T16:29:07Z")

</div>

Is your application a classic Glide? Try adding a few new blank lines. Unfortunately, I no longer have it to find the solution.

---

<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 7, 2025, 5:25pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/12 "2025-02-07T17:25:09Z")

</div>

Use a custom collection and then put a rich text component inside the custom collection container.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [February 7, 2025, 6:10pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/13 "2025-02-07T18:10:36Z")

</div>

I’m guessing from the text “inline list” that this is a Classic App. If it’s a new app, it would only say “list.”

I think the Classic App doesn’t have custom components, right Jeff? Not sure about this.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/b/4b75c1911ddbad63588cf2025a35be98a905fc33.png)

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [February 7, 2025, 7:35pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/14 "2025-02-07T19:35:15Z")

</div>

I know it will sounds weird, but adding an extra space at the end of the paragraph cause the rich output to add a line break.

---

<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 7, 2025, 8:44pm UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/15 "2025-02-07T20:44:47Z")

</div>

> [@Himaladin](#):
>
> Classic App

Yeah, you might be correct. That’s going to limit the options.

Trying to remember, but I do recall being able to break a line by doing two spaces and a carriage return like @MaximeBaker suggests. Haven’t touched classic apps in a while so I don’t remember all the places that was possible.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [February 8, 2025, 4:46am UTC](https://community.glideapps.com/t/add-a-cr-in-a-text-or-richtext-field-and-display-it/79643/16 "2025-02-08T04:46:10Z")

</div>

> [@Himaladin](#):
>
> Try adding a few new blank lines.

Yes, as I mentioned earlier, or maybe use this CSS if using the card type:

```auto
.card-subtitle { white-space: pre-wrap; }

```
