php-markdown icon indicating copy to clipboard operation
php-markdown copied to clipboard

Figure tags incorrectly wrapped with paragraph tags

Open bencrowder opened this issue 12 years ago • 1 comments

Currently, using a

tag will result in the tag being incorrectly wrapped in <p> tags. I added "figure" to the list on line 1729 ($block_tags_re) and it now works. (I also noticed that on line 247, maybe "figcaption" should be added to that list as well?)

bencrowder avatar Jul 12 '13 16:07 bencrowder

You're right. This works fine with the regular Markdown parser but not with MarkdownExtra.

michelf avatar Jul 12 '13 16:07 michelf