stephenharris / WP-MarkDown

WP-MarkDown plug-in. Allows Markdown to be enabled in posts, comments and bbPress forums.
http://wordpress.org/extend/plugins/wp-markdown/
112 stars 19 forks source link

WP-Markdown modifies table HTML #15

Closed BrenBarn closed 11 years ago

BrenBarn commented 11 years ago

If I create a table using raw HTML in my post, and I use the elements <thead>, <tbody>, and/or <tfoot>, these elements are lost when the post is saved.

This is a dealbreaker. Markdown should never ever mess with raw HTML that I am explicitly putting in.

stephenharris commented 11 years ago

Seems the MarkDownify Extra (HTML -> Markdown) was ignoring thead,tbody and tfoot. To be clear, the HTML in the database was fine - its just the generated Markdown was missing those tags.