Fixed bug in reference link parsing in markdown_mmd.

The bug was triggered by:

Link to [Google][]. Link to [twitter][].

[Google]: http://google.com
[twitter]: http://twitter.com