Fix links detection in XNGMarkdownParser, using the regex was slow and did not convert escaped brackets