egil/php-markdown-extra-extended — pull request #5 by sumpygump (2012-12-19 03:27:04+00:00)
Title:  - Fixed problem with figcaption on bottom not working.

I noticed there was a bug in the logic to process the fenced figures such that it was not correctly grabbing the caption and outputting it in the HTML when it was at the bottom of the figure.

Here is a test that can be used to test the behavior in question:

```php