fix markdown parser: multiple links in a paragraph may not detect every link