# Issue with Template Column to Rich Text

**URL:** <https://community.glideapps.com/t/issue-with-template-column-to-rich-text/79240>\
**Category:** Ask for Help\
**Created:** [January 16, 2025, 1:40pm UTC](https://community.glideapps.com/t/issue-with-template-column-to-rich-text/79240 "2025-01-16T13:40:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Official\_Giop](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/official_giop/32/56387_2.png) [@Official\_Giop](https://community.glideapps.com/u/Official_Giop)\
**Post date:** [January 16, 2025, 1:40pm UTC](https://community.glideapps.com/t/issue-with-template-column-to-rich-text/79240/1 "2025-01-16T13:40:27Z")

</div>

Hi, i’m trying to use a template column to populate the following code to display in a Rich Text component a timetable.  
The problem is that on the front-end the Rich Text component displays the code rather than the table… any suggestion/solutions ?

Here is the code. If I put it directly in a rich text component it works well, if I pass from a template column it doesn’t work anymore and displays the code below.

```
<thead>

  <tr style="background-color: #f0f0f0; color: black;">

    <th style="padding: 10px; text-align: left; border: 1px solid #ddd;">Giorno</th>

    <th style="padding: 10px; text-align: left; border: 1px solid #ddd;">Orari</th>

  </tr>

</thead>

<tbody>

  <tr>

    <td style="padding: 10px; border: 1px solid #ddd;">Lun</td>

    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00 / 15:00 - 19:00</td>

  </tr>

  <tr style="background-color: #f0f0f0;">

    <td style="padding: 10px; border: 1px solid #ddd;">Mar</td>

    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00 / 15:00 - 19:00</td>

  </tr>

  <tr>

    <td style="padding: 10px; border: 1px solid #ddd;">Mer</td>

    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00 / 15:00 - 19:00</td>

  </tr>

  <tr style="background-color: #f0f0f0;">

    <td style="padding: 10px; border: 1px solid #ddd;">Gio</td>

    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00 / 15:00 - 19:00</td>

  </tr>

  <tr>

    <td style="padding: 10px; border: 1px solid #ddd;">Ven</td>

    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00 / 15:00 - 19:00</td>

  </tr>

  <tr style="background-color: #f0f0f0;">

    <td style="padding: 10px; border: 1px solid #ddd;">Sab</td>

    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00</td>

  </tr>

  <tr>

    <td style="padding: 10px; border: 1px solid #ddd;">Dom</td>

    <td style="padding: 10px; border: 1px solid #ddd;">Chiuso</td>

  </tr>

</tbody>

```

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [January 16, 2025, 3:41pm UTC](https://community.glideapps.com/t/issue-with-template-column-to-rich-text/79240/2 "2025-01-16T15:41:45Z")

</div>

1. remove all the empty lines
2. enclose it in `<table>` tags

The following works:

```auto
<table>
<thead>
  <tr style="background-color: #f0f0f0; color: black;">
  <th style="padding: 10px; text-align: left; border: 1px solid #ddd;">Giorno</th>
  <th style="padding: 10px; text-align: left; border: 1px solid #ddd;">Orari</th>
  </tr>
</thead>
<tbody>
  <tr>
    <td style="padding: 10px; border: 1px solid #ddd;">Lun</td>
    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00 / 15:00 - 19:00</td>
  </tr>
  <tr style="background-color: #f0f0f0;">
    <td style="padding: 10px; border: 1px solid #ddd;">Mar</td>
    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00 / 15:00 - 19:00</td>
  </tr>
  <tr>
    <td style="padding: 10px; border: 1px solid #ddd;">Mer</td>
    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00 / 15:00 - 19:00</td>
  </tr>
  <tr style="background-color: #f0f0f0;">
    <td style="padding: 10px; border: 1px solid #ddd;">Gio</td>
    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00 / 15:00 - 19:00</td>
  </tr>
  <tr>
    <td style="padding: 10px; border: 1px solid #ddd;">Ven</td>
    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00 / 15:00 - 19:00</td>
  </tr>
  <tr style="background-color: #f0f0f0;">
    <td style="padding: 10px; border: 1px solid #ddd;">Sab</td>
    <td style="padding: 10px; border: 1px solid #ddd;">09:00 - 13:00</td>
  </tr>
  <tr>
    <td style="padding: 10px; border: 1px solid #ddd;">Dom</td>
    <td style="padding: 10px; border: 1px solid #ddd;">Chiuso</td>
  </tr>
</tbody>
</table>

```

 ![CleanShot 2025-01-16 at 23.41.20@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/1/9136cff710d33a11521bbcd39b719679c3cbdc08.png)

---

<div class="post-metadata">

**Author:** ![Official\_Giop](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/official_giop/32/56387_2.png) [@Official\_Giop](https://community.glideapps.com/u/Official_Giop)\
**Post date:** [January 17, 2025, 9:39am UTC](https://community.glideapps.com/t/issue-with-template-column-to-rich-text/79240/3 "2025-01-17T09:39:37Z")

</div>

Thanks so much! It works very well

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [January 24, 2025, 9:40am UTC](https://community.glideapps.com/t/issue-with-template-column-to-rich-text/79240/4 "2025-01-24T09:40:14Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
