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

(Mingxia) #1

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">
  <th colspan="2">number</th>
  <td>555 77 854</td>
  <td>555 77 855</td>

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

555 77 854 555 77 855

now how i can add these support?


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

(Mingxia) #3

thanks !:slight_smile: