FIX: Markdown parser: empty links and bbcode parsed as link refs

See https://meta.discourse.org/t/content-disappears-presumably-attempting-to-find-a-matching-emoji-link/19462