WordPress removing thead tag

Does anyone know a fix for wordpress removing the thead table tag when switching from text to visual editors?

I have a basic table

    <th colspan="2">Prizes</th>
    <td>$50 ticket</td>
    <td>$31.50 ticket</td>
    <td>$10 ticket</td>

When i preview this it’s working fine. I switch from text to visual and it does the following to the head area


So it removes the TH tag completely and puts the text inside that outside the table and into P tags.

I did have issues like this with P tags and some other tags but after installing TinyMCE Advanced it fixed the issue.

This new issue has only appeared since the last update ( I think ).
WordPress 4.7.5 is current version.

Read more here: WordPress removing thead tag

Leave a Reply

Your email address will not be published. Required fields are marked *