trentm/python-markdown2 — pull request #133 by cdman (2013-09-23 20:02:16+00:00)
Title: Unify the -/= and ## style headers

so that TOC can be generated properly from a mixed-markup document.

With the current code the TOC for the following document:

````
#ha
hb
---
#hc
````

is generated as: hb ha hc, while the correct order would be ha hb hc