Fixed bug in markdown parsing