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

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?

1 Like

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

2 Likes

thanks !:slight_smile:

1 Like

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

1 Like

Yes, it’s an issue for me too.