Markdown: Fix newline bug in reference links