# How to add colspan and rowspan tag in whitelist for html table?

**URL:** https://meta.discourse.org/t/how-to-add-colspan-and-rowspan-tag-in-whitelist-for-html-table/57973
**Category:** Development
**Created:** [26 februari 2017 om 04:03 UTC](https://meta.discourse.org/t/how-to-add-colspan-and-rowspan-tag-in-whitelist-for-html-table/57973 "2017-02-26T04:03:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mingxia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mingxia/32/68257_2.png) [@mingxia](https://meta.discourse.org/u/mingxia)
#### Post date: [26 februari 2017 om 04:03 UTC](https://meta.discourse.org/t/how-to-add-colspan-and-rowspan-tag-in-whitelist-for-html-table/57973/1 "2017-02-26T04:03:13Z")

</div>

Hi all：

in my site, some important posts will use table, and need use colspan and rowspan , but i find these tags can’t be set, so it will be ignore.

```
<table border="1">
<tr>
  <th colspan="2">number</th>
</tr>
<tr>
  <td>555 77 854</td>
  <td>555 77 855</td>
</tr>
</table>

```

**just show like this:** ( colspan=“2” will be ignore)

| number |
| --- |
| 555 77 854 | 555 77 855 |

now how i can add these support?

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [26 februari 2017 om 09:14 UTC](https://meta.discourse.org/t/how-to-add-colspan-and-rowspan-tag-in-whitelist-for-html-table/57973/2 "2017-02-26T09:14:16Z")

</div>

Table support is not currently built in with markdown. There are some changes to be made to be made to markdown in a future release nut no guarantee when.

Check this topic  
[https://meta.discourse.org/t/markdown-table-support-in-a-discourse-topic/13546/99?u=mikechristopher](https://meta.discourse.org/t/markdown-table-support-in-a-discourse-topic/13546/99)

---

<div class="post-metadata">

### Author: ![mingxia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mingxia/32/68257_2.png) [@mingxia](https://meta.discourse.org/u/mingxia)
#### Post date: [26 februari 2017 om 11:47 UTC](https://meta.discourse.org/t/how-to-add-colspan-and-rowspan-tag-in-whitelist-for-html-table/57973/3 "2017-02-26T11:47:46Z")

</div>

thanks ！🙂

---

<div class="post-metadata">

### Author: ![wolftune](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wolftune/32/103569_2.png) [@wolftune](https://meta.discourse.org/u/wolftune)
#### Post date: [25 augustus 2021 om 17:20 UTC](https://meta.discourse.org/t/how-to-add-colspan-and-rowspan-tag-in-whitelist-for-html-table/57973/4 "2021-08-25T17:20:15Z")

</div>

I noticed this is still and issue but the topic linked above does not exist any more. This would be nice to have still IMO

---

<div class="post-metadata">

### Author: ![amundo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/amundo/32/177576_2.png) [@amundo](https://meta.discourse.org/u/amundo)
#### Post date: [22 februari 2022 om 21:00 UTC](https://meta.discourse.org/t/how-to-add-colspan-and-rowspan-tag-in-whitelist-for-html-table/57973/5 "2022-02-22T21:00:03Z")

</div>

Yes, it’s an issue for me too.
