maximebf/beautiful-docs — pull request #37 by nojhamster (2014-05-13 12:28:07+00:00)
Title: fix hTag matching

Hi folks !
I noticed that the regex used for hTag recognition is too restrictive, and that results in missing anchors. I changed it from `.+<\/h\1>` to `]*>.+<\/h\1>`.

This way it handles cases like `

some title

`
This should fix https://github.com/maximebf/beautiful-docs/issues/35